tmkfile - mkports - recipes for building multiple softwares with mk(1)
(HTM) git clone git://z3bra.org/mkports
(DIR) Log
(DIR) Files
(DIR) Refs
---
tmkfile (562B)
---
1 pkg = libacl
2 ver = 2.2.52
3 url = http://download-mirror.savannah.gnu.org/releases/acl/acl-$ver.src.tar.gz
4
5 <../config.mk
6 <../default.mk
7
8 CFLAGS = ${CFLAGS} -I$WORK/$pkg-$ver/include
9 OPTIMIZER = $CFLAGS
10 DEBUG = -DNDEBUG
11 CONFIGURE = $CONFIGURE \
12 --exec-prefix=/ \
13 --libexecdir=/lib \
14 --disable-gettext
15
16 build:QV: fetch patch
17 cd $WORK/$pkg-$ver
18 test -f configure && ./configure $CONFIGURE
19 make CC="$CC"
20
21 install:QV: build
22 mkdir -p $destdir
23 cd $WORK/$pkg-$ver
24 make DIST_ROOT=$destdir install install-lib install-dev