wok annotate apr/receipt @ rev 5742

Up: strace (4.5.20)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Jun 27 09:29:34 2010 +0200 (2010-06-27)
parents 0588160a6878
children aa8b383fcb2b
rev   line source
erjo@1217 1 # SliTaz package receipt.
erjo@1217 2
erjo@1217 3 PACKAGE="apr"
erjo@4642 4 VERSION="1.3.9"
pascal@1423 5 CATEGORY="misc"
erjo@1217 6 SHORT_DESC="Apache Portable Runtime Library"
erjo@1217 7 MAINTAINER="lehswe@gmail.com"
pankso@4052 8 DEPENDS="util-linux-ng-uuid"
erjo@1217 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@1217 10 WEB_SITE="http://apr.apache.org"
erjo@4642 11 WGET_URL="http://mir2.ovh.net/ftp.apache.org/dist/$PACKAGE/$TARBALL
erjo@4642 12 http://apache.crihan.fr/dist/$PACKAGE/$TARBALL"
erjo@1217 13
erjo@1217 14 # Rules to configure and make the package.
erjo@1217 15 compile_rules()
erjo@1217 16 {
erjo@1217 17 cd $src
erjo@1217 18 ./configure --prefix=/usr --infodir=/usr/share/info \
erjo@1217 19 --with-installbuilddir=/usr/share/apr-1/build \
erjo@1217 20 --enable-nonportable-atomics \
pascal@2491 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2491 22 make &&
erjo@1217 23 make DESTDIR=$PWD/_pkg install
erjo@1217 24 }
erjo@1217 25
erjo@1217 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1217 27 genpkg_rules()
erjo@1217 28 {
erjo@1217 29 mkdir -p $fs/usr/lib
erjo@1217 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@1217 31 cp -a $_pkg/usr/lib/*.exp $fs/usr/lib
erjo@1217 32 }
erjo@1217 33