-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathlog4cpp.sh
More file actions
30 lines (29 loc) · 781 Bytes
/
Copy pathlog4cpp.sh
File metadata and controls
30 lines (29 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package: log4cpp
version: "%(tag_basename)s"
tag: "REL_1.1.6_Mar_12_2026"
source: https://git.code.sf.net/p/log4cpp/codegit
requires:
- GCC-Toolchain
build_requires:
- autotools
- alibuild-recipe-tools
env:
LOG4_ROOT: "$LOG4CPP_ROOT"
prefer_system_check: |
ls $LOG4CPP_ROOT/include/ > /dev/null && \
ls $LOG4CPP_ROOT/lib/ > /dev/null && \
true
---
#!/bin/bash -ex
rsync -a $SOURCEDIR/* .
# automake's default GNU strictness requires a top-level README;
# the 1.1.6 tarball ships only README.md.
cp -f README.md README
./autogen.sh
./configure --prefix=$INSTALLROOT \
--enable-shared
make ${JOBS+-j$JOBS}
make install
# Modulefile
mkdir -p "$INSTALLROOT/etc/modulefiles"
alibuild-generate-module --bin --lib > "$INSTALLROOT/etc/modulefiles/$PKGNAME"