wok view apr/receipt @ rev 9925

apr: use --with-egd --with-devrandom (apache dont build)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 23:24:56 2011 +0200 (2011-05-17)
parents aa8b383fcb2b
children ab78d24434f5
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 --with-installbuilddir=/usr/share/apr-1/build \
20 --enable-nonportable-atomics \
21 --with-egd \
22 --with-devrandom &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.exp $fs/usr/lib
32 }