wok-next view apr/receipt @ rev 19853

Up cookutils, slitaz-configs, slitaz-tools, slitaz-tools-boxes, terminus-font.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 02 16:37:59 2017 +0300 (2017-09-02)
parents 4048d48a47c1
children ab7c63b80420
line source
1 # SliTaz package receipt v2.
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 BUILD_DEPENDS="util-linux-uuid-dev"
16 SPLIT="apr-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --disable-static \
24 --with-installbuilddir=/usr/share/apr-1/build \
25 --enable-nonportable-atomics \
26 --with-devrandom \
27 --build=$HOST_SYSTEM \
28 --host=$HOST_SYSTEM &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 case $PACKAGE in
36 apr)
37 copy *.so* *.exp
38 DEPENDS="util-linux-uuid"
39 ;;
40 apr-dev)
41 copy @dev build/
42 DEPENDS="apr glibc-dev util-linux-uuid-dev"
43 ;;
44 esac
45 }