wok view apr/receipt @ rev 18910

Add gnubg (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 22 21:54:46 2016 +0100 (2016-02-22)
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 }