wok-4.x annotate apr-util/receipt @ rev 4712
Up: ntfs-3g* (2009.11.14)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Jan 04 21:52:33 2010 +0100 (2010-01-04) |
parents | 7a436db659a4 |
children | 81595ade5947 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="apr-util" |
erjo@4643 | 4 VERSION="1.3.9" |
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" |
erjo@4643 | 9 BUILD_DEPENDS="apr-dev unixODBC-dev postgresql-dev mysql-dev libmysqlclient libpostgresqlclient" |
erjo@1217 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1217 | 11 WEB_SITE="http://apr.apache.org" |
erjo@4643 | 12 WGET_URL="http://mir2.ovh.net/ftp.apache.org/dist/apr/$TARBALL |
erjo@4643 | 13 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 && |
erjo@1217 | 26 make DESTDIR=$PWD/_pkg 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 } |