wok-next view apr/receipt @ rev 20474

Tiny edits... (again)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 10 17:39:42 2018 +0200 (2018-03-10)
parents 2c48a1f40bb6
children 835b3b8ce6ac
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apr"
4 VERSION="1.6.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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/apr.html"
11 CROSS="error: cannot check for file existence when cross compiling"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="https://archive.apache.org/dist/apr/$TARBALL"
16 BUILD_DEPENDS="util-linux-uuid-dev"
17 SPLIT="apr-dev"
18 COOKOPTS="skip-log-errors"
20 compile_rules() {
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 genpkg_rules() {
33 case $PACKAGE in
34 apr)
35 copy *.so* *.exp
36 DEPENDS="util-linux-uuid"
37 ;;
38 apr-dev)
39 copy @dev build/
40 DEPENDS="apr util-linux-uuid-dev"
41 ;;
42 esac
43 }