wok view apr-util/receipt @ rev 15362

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 02 13:07:29 2013 +0000 (2013-10-02)
parents 09d49d3ca676
children f4cb7c6f97ac
line source
1 # SliTaz package receipt.
3 PACKAGE="apr-util"
4 VERSION="1.5.2"
5 CATEGORY="development"
6 SHORT_DESC="APR Library Utilities"
7 MAINTAINER="lehswe@gmail.com"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://apr.apache.org"
11 WGET_URL="http://www.apache.org/dist/apr/$TARBALL"
12 #WGET_URL="http://apache.crihan.fr/dist/apr/$TARBALL"
14 DEPENDS="apr expat ncurses readline zlib"
15 BUILD_DEPENDS="apr-dev unixODBC-dev sqlite-dev postgresql-dev mysql-dev libmysqlclient libpostgresqlclient util-linux-uuid-dev gawk"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --with-apr=$(apr-1-config --bindir) \
22 --with-pgsql=/usr \
23 --with-mysql \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/apr-util-1
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 #cp -a $install/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1
38 }