wok-6.x annotate apr/receipt @ rev 18336
Up zstd (0.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 10 17:29:00 2015 +0200 (2015-09-10) |
parents | fd9f7e8e6647 |
children | 3017ac7f9219 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="apr" |
pascal@12601 | 4 VERSION="1.4.6" |
pascal@1423 | 5 CATEGORY="misc" |
erjo@1217 | 6 SHORT_DESC="Apache Portable Runtime Library" |
erjo@1217 | 7 MAINTAINER="lehswe@gmail.com" |
pascal@15264 | 8 LICENSE="Apache" |
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" |
pankso@10391 | 13 CROSS="error: cannot check for file existence when cross compiling" |
erjo@1217 | 14 |
pascal@15264 | 15 DEPENDS="util-linux-uuid" |
pascal@15264 | 16 BUILD_DEPENDS="util-linux-uuid-dev" |
pascal@15264 | 17 |
erjo@1217 | 18 # Rules to configure and make the package. |
erjo@1217 | 19 compile_rules() |
erjo@1217 | 20 { |
erjo@1217 | 21 cd $src |
pankso@9925 | 22 ./configure \ |
pankso@9930 | 23 --prefix=/usr \ |
pankso@9925 | 24 --with-installbuilddir=/usr/share/apr-1/build \ |
pankso@9925 | 25 --enable-nonportable-atomics \ |
slaxemulator@10278 | 26 --with-devrandom \ |
pankso@10391 | 27 --build=$HOST_SYSTEM \ |
pascal@15264 | 28 --host=$HOST_SYSTEM 2>&1 | grep -v '/libtool:' && |
pankso@9925 | 29 make && make install |
erjo@1217 | 30 } |
erjo@1217 | 31 |
erjo@1217 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 33 genpkg_rules() |
erjo@1217 | 34 { |
erjo@1217 | 35 mkdir -p $fs/usr/lib |
pascal@15264 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15264 | 37 cp -a $install/usr/lib/*.exp $fs/usr/lib |
erjo@1217 | 38 } |
erjo@1217 | 39 |