wok-next annotate apr/receipt @ rev 20287

remove pure-ftpd-pam, screen-pam, screen-terminfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 16:26:01 2017 +0100 (2017-11-08)
parents 4048d48a47c1
children ab7c63b80420
rev   line source
al@19733 1 # SliTaz package receipt v2.
erjo@1217 2
erjo@1217 3 PACKAGE="apr"
al@19693 4 VERSION="1.5.2"
pascal@1423 5 CATEGORY="misc"
erjo@1217 6 SHORT_DESC="Apache Portable Runtime Library"
erjo@1217 7 MAINTAINER="lehswe@gmail.com"
pascal@15264 8 LICENSE="Apache"
al@19693 9 WEB_SITE="http://apr.apache.org/"
pankso@10391 10 CROSS="error: cannot check for file existence when cross compiling"
erjo@1217 11
al@19693 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19693 13 WGET_URL="http://archive.apache.org/dist/apr/$TARBALL"
al@19693 14
pascal@15264 15 BUILD_DEPENDS="util-linux-uuid-dev"
al@19733 16 SPLIT="apr-dev"
pascal@15264 17
erjo@1217 18 # Rules to configure and make the package.
erjo@1217 19 compile_rules()
erjo@1217 20 {
pankso@9925 21 ./configure \
pankso@9930 22 --prefix=/usr \
al@19693 23 --disable-static \
pankso@9925 24 --with-installbuilddir=/usr/share/apr-1/build \
pankso@9925 25 --enable-nonportable-atomics \
slaxemulator@10278 26 --with-devrandom \
pankso@10391 27 --build=$HOST_SYSTEM \
al@19693 28 --host=$HOST_SYSTEM &&
pankso@9925 29 make && make install
erjo@1217 30 }
erjo@1217 31
erjo@1217 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1217 33 genpkg_rules()
erjo@1217 34 {
al@19733 35 case $PACKAGE in
al@19733 36 apr)
al@19733 37 copy *.so* *.exp
al@19733 38 DEPENDS="util-linux-uuid"
al@19733 39 ;;
al@19733 40 apr-dev)
al@19733 41 copy @dev build/
al@19733 42 DEPENDS="apr glibc-dev util-linux-uuid-dev"
al@19733 43 ;;
al@19733 44 esac
erjo@1217 45 }