wok annotate apr-util/receipt @ rev 7159

Fixed post_install function in virtualbox-ose to use the right kernel version.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 07 02:10:16 2010 +0000 (2010-11-07)
parents d11f3a6b5624
children 785c9af180b6
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@6798 9 BUILD_DEPENDS="apr-dev unixODBC-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 }