wok-next annotate apr/receipt @ rev 20765
Up cookutils (1066); add xmahjongg
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 00:54:44 2018 +0300 (2018-06-06) |
parents | 59f5da8f2012 |
children | a18af897de8e |
rev | line source |
---|---|
al@19733 | 1 # SliTaz package receipt v2. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="apr" |
al@20679 | 4 VERSION="1.6.3" |
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/" |
al@20405 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/apr.html" |
erjo@1217 | 11 |
al@19693 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20405 | 13 WGET_URL="https://archive.apache.org/dist/apr/$TARBALL" |
al@19693 | 14 |
pascal@15264 | 15 BUILD_DEPENDS="util-linux-uuid-dev" |
al@19733 | 16 SPLIT="apr-dev" |
al@20569 | 17 |
al@20405 | 18 COOKOPTS="skip-log-errors" |
al@20569 | 19 CROSS="error: cannot check for file existence when cross compiling" |
pascal@15264 | 20 |
al@20405 | 21 compile_rules() { |
al@20622 | 22 # should define prefix |
pankso@9925 | 23 ./configure \ |
al@20622 | 24 --prefix=/usr \ |
al@19693 | 25 --disable-static \ |
pankso@9925 | 26 --with-installbuilddir=/usr/share/apr-1/build \ |
pankso@9925 | 27 --enable-nonportable-atomics \ |
slaxemulator@10278 | 28 --with-devrandom \ |
al@20569 | 29 $CONFIGURE_ARGS && |
al@20569 | 30 fix libtool && |
al@20569 | 31 make && |
al@20569 | 32 make install |
erjo@1217 | 33 } |
erjo@1217 | 34 |
al@20405 | 35 genpkg_rules() { |
al@19733 | 36 case $PACKAGE in |
al@19733 | 37 apr) |
al@20622 | 38 copy *.so* |
al@19733 | 39 DEPENDS="util-linux-uuid" |
al@19733 | 40 ;; |
al@19733 | 41 apr-dev) |
al@20622 | 42 copy @dev build/ *.exp |
al@20405 | 43 DEPENDS="apr util-linux-uuid-dev" |
al@19733 | 44 ;; |
al@19733 | 45 esac |
erjo@1217 | 46 } |