wok annotate apr/receipt @ rev 11791
Up: squidclamav (5.7)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Feb 25 00:57:54 2012 +0100 (2012-02-25) |
parents | b22c2937bf82 |
children | 73641efed1cc |
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" |
pascal@10944 | 9 BUILD_DEPENDS="util-linux-ng-uuid-dev" |
erjo@1217 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1217 | 11 WEB_SITE="http://apr.apache.org" |
erjo@4642 | 12 WGET_URL="http://mir2.ovh.net/ftp.apache.org/dist/$PACKAGE/$TARBALL |
erjo@4642 | 13 http://apache.crihan.fr/dist/$PACKAGE/$TARBALL" |
pankso@10391 | 14 CROSS="error: cannot check for file existence when cross compiling" |
erjo@1217 | 15 |
erjo@1217 | 16 # Rules to configure and make the package. |
erjo@1217 | 17 compile_rules() |
erjo@1217 | 18 { |
erjo@1217 | 19 cd $src |
pankso@9925 | 20 ./configure \ |
pankso@9930 | 21 --prefix=/usr \ |
pankso@9925 | 22 --with-installbuilddir=/usr/share/apr-1/build \ |
pankso@9925 | 23 --enable-nonportable-atomics \ |
slaxemulator@10278 | 24 --with-devrandom \ |
pankso@10391 | 25 --build=$HOST_SYSTEM \ |
pankso@10391 | 26 --host=$HOST_SYSTEM && |
pankso@9925 | 27 make && make install |
erjo@1217 | 28 } |
erjo@1217 | 29 |
erjo@1217 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 31 genpkg_rules() |
erjo@1217 | 32 { |
erjo@1217 | 33 mkdir -p $fs/usr/lib |
erjo@1217 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1217 | 35 cp -a $_pkg/usr/lib/*.exp $fs/usr/lib |
erjo@1217 | 36 } |
erjo@1217 | 37 |