wok annotate apr/receipt @ rev 22684

osmo: force .mo build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 19 15:15:22 2020 +0100 (2020-01-19)
parents 21df9c566947
children dfe45ff0a274
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 \
Hans-G?nter@22491 23 --prefix=/usr \
Hans-G?nter@22491 24 --with-installbuilddir=/usr/share/apr-1/build \
Hans-G?nter@22491 25 --enable-nonportable-atomics \
Hans-G?nter@22491 26 --with-devrandom \
Hans-G?nter@22491 27 --build=$HOST_SYSTEM \
pascal@15264 28 --host=$HOST_SYSTEM 2>&1 | grep -v '/libtool:' &&
Hans-G?nter@22491 29 make &&
Hans-G?nter@22491 30 make install
erjo@1217 31 }
erjo@1217 32
erjo@1217 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1217 34 genpkg_rules()
erjo@1217 35 {
erjo@1217 36 mkdir -p $fs/usr/lib
Hans-G?nter@22491 37
Hans-G?nter@22491 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22491 39 cp -a $install/usr/lib/*.exp $fs/usr/lib
erjo@1217 40 }