wok-next view apr/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 835b3b8ce6ac |
children | 1ca369c9f448 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apr"
4 VERSION="1.6.2"
5 CATEGORY="misc"
6 SHORT_DESC="Apache Portable Runtime Library"
7 MAINTAINER="lehswe@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="http://apr.apache.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/apr.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://archive.apache.org/dist/apr/$TARBALL"
15 BUILD_DEPENDS="util-linux-uuid-dev"
16 SPLIT="apr-dev"
18 COOKOPTS="skip-log-errors"
19 CROSS="error: cannot check for file existence when cross compiling"
21 compile_rules() {
22 # should define prefix
23 ./configure \
24 --prefix=/usr \
25 --disable-static \
26 --with-installbuilddir=/usr/share/apr-1/build \
27 --enable-nonportable-atomics \
28 --with-devrandom \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 apr)
38 copy *.so*
39 DEPENDS="util-linux-uuid"
40 ;;
41 apr-dev)
42 copy @dev build/ *.exp
43 DEPENDS="apr util-linux-uuid-dev"
44 ;;
45 esac
46 }