wok annotate apr/receipt @ rev 10278
apr: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 16:29:28 2011 +0000 (2011-05-21) |
parents | ab78d24434f5 |
children | 49964eda5823 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="apr" |
slaxemulator@6301 | 4 VERSION="1.4.2" |
pascal@1423 | 5 CATEGORY="misc" |
erjo@1217 | 6 SHORT_DESC="Apache Portable Runtime Library" |
erjo@1217 | 7 MAINTAINER="lehswe@gmail.com" |
pankso@4052 | 8 DEPENDS="util-linux-ng-uuid" |
erjo@1217 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1217 | 10 WEB_SITE="http://apr.apache.org" |
erjo@4642 | 11 WGET_URL="http://mir2.ovh.net/ftp.apache.org/dist/$PACKAGE/$TARBALL |
erjo@4642 | 12 http://apache.crihan.fr/dist/$PACKAGE/$TARBALL" |
erjo@1217 | 13 |
erjo@1217 | 14 # Rules to configure and make the package. |
erjo@1217 | 15 compile_rules() |
erjo@1217 | 16 { |
erjo@1217 | 17 cd $src |
pankso@9925 | 18 ./configure \ |
pankso@9930 | 19 --prefix=/usr \ |
pankso@9925 | 20 --with-installbuilddir=/usr/share/apr-1/build \ |
pankso@9925 | 21 --enable-nonportable-atomics \ |
pankso@9925 | 22 --with-egd \ |
slaxemulator@10278 | 23 --with-devrandom \ |
slaxemulator@10278 | 24 $CONFIGURE_ARGS && |
pankso@9925 | 25 make && make install |
erjo@1217 | 26 } |
erjo@1217 | 27 |
erjo@1217 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 29 genpkg_rules() |
erjo@1217 | 30 { |
erjo@1217 | 31 mkdir -p $fs/usr/lib |
erjo@1217 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1217 | 33 cp -a $_pkg/usr/lib/*.exp $fs/usr/lib |
erjo@1217 | 34 } |
erjo@1217 | 35 |