wok-6.x annotate apr/receipt @ rev 13987
poppler*:reorganized receipt + added poppler-qt4-dev
author | ernia <monghitri@aruba.it> |
---|---|
date | Sat Feb 09 06:59:19 2013 +0000 (2013-02-09) |
parents | 73641efed1cc |
children | 21df9c566947 |
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" |
pankso@12481 | 8 DEPENDS="util-linux-uuid" |
pankso@12481 | 9 BUILD_DEPENDS="util-linux-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 |