wok-next view apr/receipt @ rev 18702

Up ola(0.9.8) (thanks Thomas a.k.a. kult-ex)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Dec 16 12:43:42 2015 +0200 (2015-12-16)
parents fd9f7e8e6647
children 4048d48a47c1
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 }