wok-next view apr/receipt @ rev 12553
awm: needs GConf-dev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 27 15:57:34 2012 +0200 (2012-04-27) |
parents | f8fd2e7bac37 |
children | fd9f7e8e6647 |
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-uuid"
9 BUILD_DEPENDS="util-linux-uuid-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://apr.apache.org"
12 WGET_URL="http://mir2.ovh.net/ftp.apache.org/dist/$PACKAGE/$TARBALL
13 http://apache.crihan.fr/dist/$PACKAGE/$TARBALL"
14 CROSS="error: cannot check for file existence when cross compiling"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --with-installbuilddir=/usr/share/apr-1/build \
23 --enable-nonportable-atomics \
24 --with-devrandom \
25 --build=$HOST_SYSTEM \
26 --host=$HOST_SYSTEM &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.exp $fs/usr/lib
36 }