wok annotate apr/receipt @ rev 1746
Add eaccelerator
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 22 23:27:11 2008 +0000 (2008-11-22) |
parents | 805d63a583d5 |
children | 7a436db659a4 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="apr" |
erjo@1217 | 4 VERSION="1.3.2" |
pascal@1423 | 5 CATEGORY="misc" |
erjo@1217 | 6 SHORT_DESC="Apache Portable Runtime Library" |
erjo@1217 | 7 MAINTAINER="lehswe@gmail.com" |
erjo@1217 | 8 DEPENDS="" |
erjo@1217 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1217 | 10 WEB_SITE="http://apr.apache.org" |
erjo@1217 | 11 WGET_URL="http://apache.jumper.nu/apr/$TARBALL" |
erjo@1217 | 12 |
erjo@1217 | 13 # Rules to configure and make the package. |
erjo@1217 | 14 compile_rules() |
erjo@1217 | 15 { |
erjo@1217 | 16 cd $src |
erjo@1217 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@1217 | 18 --with-installbuilddir=/usr/share/apr-1/build \ |
erjo@1217 | 19 --enable-nonportable-atomics \ |
erjo@1217 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@1217 | 21 make |
erjo@1217 | 22 make DESTDIR=$PWD/_pkg install |
erjo@1217 | 23 } |
erjo@1217 | 24 |
erjo@1217 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 26 genpkg_rules() |
erjo@1217 | 27 { |
erjo@1217 | 28 mkdir -p $fs/usr/lib |
erjo@1217 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1217 | 30 cp -a $_pkg/usr/lib/*.exp $fs/usr/lib |
erjo@1217 | 31 } |
erjo@1217 | 32 |