wok-next view apr/receipt @ rev 20964
Micro-updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Sep 10 00:52:53 2018 +0300 (2018-09-10) |
parents | 59f5da8f2012 |
children | a18af897de8e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apr"
4 VERSION="1.6.3"
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"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://archive.apache.org/dist/apr/$TARBALL"
15 BUILD_DEPENDS="util-linux-uuid-dev"
16 SPLIT="apr-dev"
18 COOKOPTS="skip-log-errors"
19 CROSS="error: cannot check for file existence when cross compiling"
21 compile_rules() {
22 # should define prefix
23 ./configure \
24 --prefix=/usr \
25 --disable-static \
26 --with-installbuilddir=/usr/share/apr-1/build \
27 --enable-nonportable-atomics \
28 --with-devrandom \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 apr)
38 copy *.so*
39 DEPENDS="util-linux-uuid"
40 ;;
41 apr-dev)
42 copy @dev build/ *.exp
43 DEPENDS="apr util-linux-uuid-dev"
44 ;;
45 esac
46 }