wok-stable view apr-util/receipt @ rev 2558
hydra: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 16:03:04 2009 +0000 (2009-03-26) |
parents | d86a706d7fcd |
children | d11f3a6b5624 |
line source
1 # SliTaz package receipt.
3 PACKAGE="apr-util"
4 VERSION="1.3.2"
5 CATEGORY="development"
6 SHORT_DESC="Apache Portable Runtime Library Utilities"
7 MAINTAINER="lehswe@gmail.com"
8 DEPENDS="apr expat libpostgresqlclient libunixODBC ncurses readline sqlite \
9 zlib"
10 BUILD_DEPENDS="apr unixODBC-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://apr.apache.org"
13 WGET_URL="http://apache.jumper.nu/apr/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --with-apr=/usr/bin --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/apr-util-1
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1
32 }