wok-4.x annotate apr-util/receipt @ rev 9511

Added sqlite-dev to apr-util build depends. Needed to build apr-dbd-sqlite package.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Apr 06 08:18:26 2011 +0000 (2011-04-06)
parents 81595ade5947
children
rev   line source
erjo@1217 1 # SliTaz package receipt.
erjo@1217 2
erjo@1217 3 PACKAGE="apr-util"
slaxemulator@6798 4 VERSION="1.3.10"
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"
slaxemulator@9511 9 BUILD_DEPENDS="apr-dev unixODBC-dev sqlite-dev postgresql-dev mysql-dev libmysqlclient libpostgresqlclient util-linux-ng-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 &&
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 }