wok-next annotate apr-util/receipt @ rev 14810
Up: apr-util* (1.5.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jul 17 13:35:05 2013 +0200 (2013-07-17) |
parents | 2f40759bb247 |
children | 617dbdeb6f7e |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="apr-util" |
erjo@14810 | 4 VERSION="1.5.2" |
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 } |