wok-next view apr-util/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 | 0e7893ac206d |
children | 1ca369c9f448 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apr-util"
4 VERSION="1.6.0"
5 CATEGORY="development"
6 SHORT_DESC="APR Library Utilities"
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-util.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://archive.apache.org/dist/apr/$TARBALL"
15 BUILD_DEPENDS="apr-dev openssl-dev gdbm-dev postgresql-dev sqlite3-dev \
16 unixODBC-dev expat-dev mysql-dev openldap-dev"
17 SPLIT="apr-dbd-mysql apr-dbd-odbc apr-dbd-pgsql apr-dbd-sqlite apr-crypto \
18 apr-dbm-gdbm apr-util-dev"
20 compile_rules() {
21 ./configure \
22 --prefix=/usr \
23 --with-apr=/usr \
24 --with-gdbm=/usr \
25 --with-openssl=/usr \
26 --with-mysql \
27 --with-crypto \
28 --with-ldap \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 apr-util)
37 copy libaprutil-1.so* aprutil.exp
38 DEPENDS="apr expat util-linux-uuid"
39 ;;
40 apr-dbd-mysql)
41 copy *mysql*.so
42 DEPENDS="apr-util libmysqlclient openssl zlib"
43 CAT="libdevel|MySQL DBD driver"
44 ;;
45 apr-dbd-odbc)
46 copy *odbc*.so
47 DEPENDS="apr-util libunixODBC"
48 CAT="libdevel|ODBC DBD driver"
49 ;;
50 apr-dbd-pgsql)
51 copy *pgsql*.so
52 DEPENDS="apr-util libpostgresqlclient"
53 CAT="libdevel|PostgreSQL DBD driver"
54 ;;
55 apr-dbd-sqlite)
56 copy *sqlite*.so
57 DEPENDS="apr-util libsqlite3"
58 CAT="libdevel|SQLite DBD driver"
59 ;;
60 apr-crypto)
61 copy *crypto*.so
62 DEPENDS="apr-util openssl"
63 CAT="libdevel|OpenSSL crypto plugin"
64 ;;
65 apr-dbm-gdbm)
66 copy *dbm*.so
67 DEPENDS="apr-util gdbm"
68 CAT="libdevel|GDBM plugin"
69 ;;
70 *-dev)
71 copy @dev
72 DEPENDS="apr-util apr-dbd-mysql apr-dbd-odbc apr-dbd-pgsql \
73 apr-dbd-sqlite apr-crypto apr-dbm-gdbm \
74 apr-dev expat-dev gdbm-dev mysql-dev openldap-dev openssl-dev \
75 postgresql-dev sqlite3-dev unixODBC-dev util-linux-uuid-dev \
76 zlib-dev"
77 ;;
78 esac
79 }