wok annotate apr-util/receipt @ rev 2650
mirror-tools: update pxe for 2.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 18 12:53:55 2009 +0200 (2009-04-18) |
parents | d86a706d7fcd |
children | d11f3a6b5624 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="apr-util" |
erjo@1217 | 4 VERSION="1.3.2" |
pascal@1423 | 5 CATEGORY="development" |
erjo@1217 | 6 SHORT_DESC="Apache Portable Runtime Library Utilities" |
erjo@1217 | 7 MAINTAINER="lehswe@gmail.com" |
pascal@2491 | 8 DEPENDS="apr expat libpostgresqlclient libunixODBC ncurses readline sqlite \ |
pascal@2491 | 9 zlib" |
pascal@1524 | 10 BUILD_DEPENDS="apr unixODBC-dev" |
erjo@1217 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1217 | 12 WEB_SITE="http://apr.apache.org" |
erjo@1217 | 13 WGET_URL="http://apache.jumper.nu/apr/$TARBALL" |
erjo@1217 | 14 |
erjo@1217 | 15 # Rules to configure and make the package. |
erjo@1217 | 16 compile_rules() |
erjo@1217 | 17 { |
erjo@1217 | 18 cd $src |
erjo@1217 | 19 ./configure --with-apr=/usr/bin --prefix=/usr --infodir=/usr/share/info \ |
pascal@1458 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1458 | 21 make && |
erjo@1217 | 22 make DESTDIR=$PWD/_pkg install |
erjo@1217 | 23 } |
erjo@1217 | 24 |
erjo@1217 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 26 genpkg_rules() |
erjo@1217 | 27 { |
erjo@1217 | 28 mkdir -p $fs/usr/lib/apr-util-1 |
erjo@1217 | 29 |
erjo@1217 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1217 | 31 cp -a $_pkg/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1 |
erjo@1217 | 32 } |