wok view apr/receipt @ rev 10874

slitaz-tools-boxes: This can't be a wanted package. Compile_rules are made for non-wanted packages. Also tazwok doesn't execute compile_rules if its a wanted package.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jun 19 12:25:19 2011 +0000 (2011-06-19)
parents 49964eda5823
children f8fd2e7bac37
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"
13 CROSS="error: cannot check for file existence when cross compiling"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --with-installbuilddir=/usr/share/apr-1/build \
22 --enable-nonportable-atomics \
23 --with-devrandom \
24 --build=$HOST_SYSTEM \
25 --host=$HOST_SYSTEM &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.exp $fs/usr/lib
35 }