wok-6.x view apr/receipt @ rev 2401

openldap: improve start script
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 09:22:01 2009 +0000 (2009-03-10)
parents 805d63a583d5
children 7a436db659a4
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=""
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 }