wok view apr-util/receipt @ rev 1566

obconf, openbox: hack compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 13 15:33:45 2008 +0000 (2008-10-13)
parents cb884d540a01
children 7a436db659a4
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"
9 BUILD_DEPENDS="apr unixODBC-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://apr.apache.org"
12 WGET_URL="http://apache.jumper.nu/apr/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --with-apr=/usr/bin --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib/apr-util-1
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1
31 }