wok-6.x annotate apr-util/receipt @ rev 12810
readline: ARM want it :-) so we can cross compile bash
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 20 03:01:49 2012 +0200 (2012-05-20) |
parents | 73641efed1cc |
children | 09d49d3ca676 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="apr-util" |
pascal@12600 | 4 VERSION="1.4.1" |
pascal@1423 | 5 CATEGORY="development" |
erjo@4643 | 6 SHORT_DESC="APR Library Utilities" |
erjo@1217 | 7 MAINTAINER="lehswe@gmail.com" |
erjo@4643 | 8 DEPENDS="apr expat ncurses readline zlib" |
pankso@12481 | 9 BUILD_DEPENDS="apr-dev unixODBC-dev sqlite-dev postgresql-dev mysql-dev libmysqlclient libpostgresqlclient util-linux-uuid-dev gawk" |
slaxemulator@6798 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1217 | 11 WEB_SITE="http://apr.apache.org" |
slaxemulator@6798 | 12 WGET_URL="http://www.apache.org/dist/apr/$TARBALL" |
slaxemulator@6798 | 13 #WGET_URL="http://apache.crihan.fr/dist/apr/$TARBALL" |
erjo@4643 | 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@4643 | 19 ./configure --with-apr=$(apr-1-config --bindir) \ |
erjo@4643 | 20 --with-pgsql=/usr \ |
erjo@4643 | 21 --with-mysql \ |
erjo@4643 | 22 --prefix=/usr \ |
erjo@4643 | 23 --infodir=/usr/share/info \ |
pascal@1458 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1458 | 25 make && |
pascal@12600 | 26 make DESTDIR=$DESTDIR install |
erjo@1217 | 27 } |
erjo@1217 | 28 |
erjo@1217 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 30 genpkg_rules() |
erjo@1217 | 31 { |
erjo@1217 | 32 mkdir -p $fs/usr/lib/apr-util-1 |
erjo@1217 | 33 |
erjo@1217 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@4643 | 35 #cp -a $_pkg/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1 |
erjo@1217 | 36 } |