wok-next view apr/receipt @ rev 20595

More fix libtool.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Apr 16 11:36:31 2018 +0300 (2018-04-16)
parents ab7c63b80420
children 59f5da8f2012
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"
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 ./configure \
23 --disable-static \
24 --with-installbuilddir=/usr/share/apr-1/build \
25 --enable-nonportable-atomics \
26 --with-devrandom \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 apr)
36 copy *.so* *.exp
37 DEPENDS="util-linux-uuid"
38 ;;
39 apr-dev)
40 copy @dev build/
41 DEPENDS="apr util-linux-uuid-dev"
42 ;;
43 esac
44 }