wok-next diff apr-util/receipt @ rev 5800
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 14:18:18 2010 +0200 (2010-07-11) |
parents | 7a436db659a4 |
children | 81595ade5947 |
line diff
1.1 --- a/apr-util/receipt Sun Mar 15 22:17:07 2009 +0000 1.2 +++ b/apr-util/receipt Sun Jul 11 14:18:18 2010 +0200 1.3 @@ -1,22 +1,26 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="apr-util" 1.7 -VERSION="1.3.2" 1.8 +VERSION="1.3.9" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Apache Portable Runtime Library Utilities" 1.11 +SHORT_DESC="APR Library Utilities" 1.12 MAINTAINER="lehswe@gmail.com" 1.13 -DEPENDS="apr expat libpostgresqlclient libunixODBC ncurses readline sqlite \ 1.14 -zlib" 1.15 -BUILD_DEPENDS="apr unixODBC-dev" 1.16 +DEPENDS="apr expat ncurses readline zlib" 1.17 +BUILD_DEPENDS="apr-dev unixODBC-dev postgresql-dev mysql-dev libmysqlclient libpostgresqlclient" 1.18 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 WEB_SITE="http://apr.apache.org" 1.20 -WGET_URL="http://apache.jumper.nu/apr/$TARBALL" 1.21 - 1.22 +WGET_URL="http://mir2.ovh.net/ftp.apache.org/dist/apr/$TARBALL 1.23 + http://apache.crihan.fr/dist/apr/$TARBALL" 1.24 + 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 cd $src 1.29 - ./configure --with-apr=/usr/bin --prefix=/usr --infodir=/usr/share/info \ 1.30 + ./configure --with-apr=$(apr-1-config --bindir) \ 1.31 + --with-pgsql=/usr \ 1.32 + --with-mysql \ 1.33 + --prefix=/usr \ 1.34 + --infodir=/usr/share/info \ 1.35 --mandir=/usr/share/man $CONFIGURE_ARGS && 1.36 make && 1.37 make DESTDIR=$PWD/_pkg install 1.38 @@ -28,5 +32,5 @@ 1.39 mkdir -p $fs/usr/lib/apr-util-1 1.40 1.41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.42 - cp -a $_pkg/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1 1.43 + #cp -a $_pkg/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1 1.44 }