wok view apr/receipt @ rev 16231

Up fpc (2.6.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 01 09:10:23 2014 +0000 (2014-04-01)
parents fd9f7e8e6647
children 3017ac7f9219
line source
1 # SliTaz package receipt.
3 PACKAGE="apr"
4 VERSION="1.4.6"
5 CATEGORY="misc"
6 SHORT_DESC="Apache Portable Runtime Library"
7 MAINTAINER="lehswe@gmail.com"
8 LICENSE="Apache"
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 DEPENDS="util-linux-uuid"
16 BUILD_DEPENDS="util-linux-uuid-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --with-installbuilddir=/usr/share/apr-1/build \
25 --enable-nonportable-atomics \
26 --with-devrandom \
27 --build=$HOST_SYSTEM \
28 --host=$HOST_SYSTEM 2>&1 | grep -v '/libtool:' &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/*.exp $fs/usr/lib
38 }