wok-next view apr/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
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 }