wok-6.x view apr/receipt @ rev 23065
miro: update for ffmpeg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 09 18:50:16 2020 +0100 (2020-03-09) |
parents | 21df9c566947 |
children | dfe45ff0a274 |
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 --prefix=/usr \
24 --with-installbuilddir=/usr/share/apr-1/build \
25 --enable-nonportable-atomics \
26 --with-devrandom \
27 --build=$HOST_SYSTEM \
28 --host=$HOST_SYSTEM 2>&1 | grep -v '/libtool:' &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/*.exp $fs/usr/lib
40 }