wok-6.x view apr/receipt @ rev 9949
jed: fix bdeps
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed May 18 12:35:56 2011 +0200 (2011-05-18) |
parents | ed226acb2345 |
children | a191489eb509 |
line source
1 # SliTaz package receipt.
3 PACKAGE="apr"
4 VERSION="1.4.2"
5 CATEGORY="misc"
6 SHORT_DESC="Apache Portable Runtime Library"
7 MAINTAINER="lehswe@gmail.com"
8 DEPENDS="util-linux-ng-uuid"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://apr.apache.org"
11 WGET_URL="http://mir2.ovh.net/ftp.apache.org/dist/$PACKAGE/$TARBALL
12 http://apache.crihan.fr/dist/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --with-installbuilddir=/usr/share/apr-1/build \
21 --enable-nonportable-atomics \
22 --with-egd \
23 --with-devrandom &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.exp $fs/usr/lib
33 }