wok-next view apr-util/receipt @ rev 12482
seed: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 17:25:52 2012 +0200 (2012-04-23) |
parents | 785c9af180b6 |
children | 2f40759bb247 |
line source
1 # SliTaz package receipt.
3 PACKAGE="apr-util"
4 VERSION="1.3.10"
5 CATEGORY="development"
6 SHORT_DESC="APR Library Utilities"
7 MAINTAINER="lehswe@gmail.com"
8 DEPENDS="apr expat ncurses readline zlib"
9 BUILD_DEPENDS="apr-dev unixODBC-dev sqlite-dev postgresql-dev mysql-dev libmysqlclient libpostgresqlclient util-linux-uuid-dev gawk"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://apr.apache.org"
12 WGET_URL="http://www.apache.org/dist/apr/$TARBALL"
13 #WGET_URL="http://apache.crihan.fr/dist/apr/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --with-apr=$(apr-1-config --bindir) \
20 --with-pgsql=/usr \
21 --with-mysql \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/apr-util-1
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 #cp -a $_pkg/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1
36 }