wok-next view apr-util/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | f48456621a9d |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apr-util"
4 VERSION="1.6.1"
5 CATEGORY="development"
6 SHORT_DESC="APR Library Utilities"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="http://apr.apache.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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-ldap $PACKAGE-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"
39 ;;
40 apr-dbd-mysql)
41 copy *mysql*.so
42 DEPENDS="libmysqlclient apr-util"
43 CAT="libdevel|MySQL DBD driver"
44 ;;
45 apr-dbd-odbc)
46 copy *odbc*.so
47 DEPENDS="libunixODBC apr-util"
48 CAT="libdevel|ODBC DBD driver"
49 ;;
50 apr-dbd-pgsql)
51 copy *pgsql*.so
52 DEPENDS="libpostgresqlclient apr-util"
53 CAT="libdevel|PostgreSQL DBD driver"
54 ;;
55 apr-dbd-sqlite)
56 copy *sqlite*.so
57 DEPENDS="libsqlite3 apr-util"
58 CAT="libdevel|SQLite DBD driver"
59 ;;
60 apr-crypto)
61 copy *crypto*.so
62 DEPENDS="openssl apr-util"
63 CAT="libdevel|OpenSSL crypto plugin"
64 ;;
65 apr-dbm-gdbm)
66 copy *dbm*.so
67 DEPENDS="gdbm apr-util"
68 CAT="libdevel|GDBM plugin"
69 ;;
70 apr-ldap)
71 copy apr_ldap*.so
72 DEPENDS="libldap apr-util"
73 CAT="libdevel|LDAP plugin"
74 ;;
75 *-dev)
76 copy @dev
77 DEPENDS="apr-util apr-dbd-mysql apr-dbd-odbc apr-dbd-pgsql \
78 apr-dbd-sqlite apr-crypto apr-dbm-gdbm apr-ldap \
79 apr-dev expat-dev gdbm-dev mysql-dev openldap-dev openssl-dev \
80 postgresql-dev sqlite3-dev unixODBC-dev util-linux-uuid-dev \
81 zlib-dev"
82 ;;
83 esac
84 }