wok view apr/receipt @ rev 24486
updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 16:54:18 2022 +0100 (2022-02-18) |
parents | 9af0e03b8ad0 |
children | bd7510903310 |
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/asc/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 ap_cv_atomic_builtins=no \
31 --prefix=/usr \
32 --with-installbuilddir=/usr/share/apr-1/build \
33 --enable-nonportable-atomics \
34 --with-devrandom \
35 --build=$HOST_SYSTEM \
36 --host=$HOST_SYSTEM 2>&1 | grep -v '/libtool:' &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/*.exp $fs/usr/lib
48 }