wok-next annotate apr/receipt @ rev 12533
Up: xorg-xf86-input-evdev (it provide mouse and keyboard support so xorg-xf86-input-[mouse|keyboard] can be removed)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 26 01:50:03 2012 +0200 (2012-04-26) |
parents | f8fd2e7bac37 |
children | fd9f7e8e6647 |
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@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 |