wok-next view apr/receipt @ rev 21065
Rebuild python3 with libffi
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 12:00:02 2018 +0200 (2018-12-06) |
parents | a18af897de8e |
children | e19ff076dc63 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apr"
4 VERSION="1.6.5"
5 CATEGORY="misc"
6 SHORT_DESC="Apache Portable Runtime Library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="http://apr.apache.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-dev"
18 COOKOPTS="skip-log-errors"
20 compile_rules() {
21 # should define prefix
22 ./configure \
23 --prefix=/usr \
24 --disable-static \
25 --with-installbuilddir=/usr/share/apr-1/build \
26 --enable-nonportable-atomics \
27 --with-devrandom \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 apr)
37 copy *.so*
38 DEPENDS="util-linux-uuid"
39 ;;
40 apr-dev)
41 copy @dev build/ *.exp
42 DEPENDS="apr util-linux-uuid-dev"
43 ;;
44 esac
45 }