wok-current view apr/receipt @ rev 23702
Up tazlito (525)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 28 07:57:17 2020 +0000 (2020-04-28) |
parents | 3017ac7f9219 |
children | 9af0e03b8ad0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="apr"
4 VERSION="1.7.0"
5 CATEGORY="misc"
6 SHORT_DESC="Apache Portable Runtime Library."
7 MAINTAINER="lehswe@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="https://apr.apache.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.apache.org/dist/$PACKAGE/$TARBALL"
14 DEPENDS="util-linux-uuid"
15 BUILD_DEPENDS="util-linux-uuid-dev"
17 CROSS="error: cannot check for file existence when cross compiling"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 ap_cv_atomic_builtins=no \
24 --prefix=/usr \
25 --with-installbuilddir=/usr/share/apr-1/build \
26 --enable-nonportable-atomics \
27 --with-devrandom \
28 --build=$HOST_SYSTEM \
29 --host=$HOST_SYSTEM 2>&1 | grep -v '/libtool:' &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/*.exp $fs/usr/lib
41 }