wok annotate apr/receipt @ rev 23312

updated perl-datetime-format-w3cdtf (0.06 -> 0.07)
author Hans-G?nter Theisgen
date Mon Mar 30 14:52:27 2020 +0100 (2020-03-30)
parents 3017ac7f9219
children 9af0e03b8ad0
rev   line source
erjo@1217 1 # SliTaz package receipt.
erjo@1217 2
erjo@1217 3 PACKAGE="apr"
Hans-G?nter@22491 4 VERSION="1.7.0"
pascal@1423 5 CATEGORY="misc"
Hans-G?nter@22491 6 SHORT_DESC="Apache Portable Runtime Library."
erjo@1217 7 MAINTAINER="lehswe@gmail.com"
pascal@15264 8 LICENSE="Apache"
Hans-G?nter@22491 9 WEB_SITE="https://apr.apache.org"
Hans-G?nter@22491 10
Hans-G?nter@22491 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@22491 12 WGET_URL="http://www.apache.org/dist/$PACKAGE/$TARBALL"
erjo@1217 13
pascal@15264 14 DEPENDS="util-linux-uuid"
pascal@15264 15 BUILD_DEPENDS="util-linux-uuid-dev"
pascal@15264 16
Hans-G?nter@22491 17 CROSS="error: cannot check for file existence when cross compiling"
Hans-G?nter@22491 18
erjo@1217 19 # Rules to configure and make the package.
erjo@1217 20 compile_rules()
erjo@1217 21 {
Hans-G?nter@22491 22 ./configure \
pascal@23072 23 ap_cv_atomic_builtins=no \
Hans-G?nter@22491 24 --prefix=/usr \
Hans-G?nter@22491 25 --with-installbuilddir=/usr/share/apr-1/build \
Hans-G?nter@22491 26 --enable-nonportable-atomics \
Hans-G?nter@22491 27 --with-devrandom \
Hans-G?nter@22491 28 --build=$HOST_SYSTEM \
pascal@15264 29 --host=$HOST_SYSTEM 2>&1 | grep -v '/libtool:' &&
Hans-G?nter@22491 30 make &&
Hans-G?nter@22491 31 make install
erjo@1217 32 }
erjo@1217 33
erjo@1217 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1217 35 genpkg_rules()
erjo@1217 36 {
erjo@1217 37 mkdir -p $fs/usr/lib
Hans-G?nter@22491 38
Hans-G?nter@22491 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22491 40 cp -a $install/usr/lib/*.exp $fs/usr/lib
erjo@1217 41 }