wok-next view apr/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents 21df9c566947
children 2c48a1f40bb6
line source
1 # SliTaz package receipt.
3 PACKAGE="apr"
4 VERSION="1.5.2"
5 CATEGORY="misc"
6 SHORT_DESC="Apache Portable Runtime Library"
7 MAINTAINER="lehswe@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="http://apr.apache.org/"
10 CROSS="error: cannot check for file existence when cross compiling"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://archive.apache.org/dist/apr/$TARBALL"
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 while read i; do patch -p1 -i $stuff/patches/$i; done < $stuff/patches/series
23 ./configure \
24 --prefix=/usr \
25 --disable-static \
26 --with-installbuilddir=/usr/share/apr-1/build \
27 --enable-nonportable-atomics \
28 --with-devrandom \
29 --build=$HOST_SYSTEM \
30 --host=$HOST_SYSTEM &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files *.so* *.exp
38 }