wok-current view apr/receipt @ rev 2764

Reduce cups pkg size
author Rohit Joshi <jozee@slitaz.org>
date Sun Apr 26 16:00:45 2009 +0000 (2009-04-26)
parents 03a799424aaa
children 0588160a6878
line source
1 # SliTaz package receipt.
3 PACKAGE="apr"
4 VERSION="1.3.2"
5 CATEGORY="misc"
6 SHORT_DESC="Apache Portable Runtime Library"
7 MAINTAINER="lehswe@gmail.com"
8 DEPENDS="libuuid"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://apr.apache.org"
11 WGET_URL="http://apache.jumper.nu/apr/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --with-installbuilddir=/usr/share/apr-1/build \
19 --enable-nonportable-atomics \
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
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.exp $fs/usr/lib
31 }