wok-next view apr-util/receipt @ rev 19819
gstreamer0: update for the new bison version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 29 12:09:11 2017 +0200 (2017-07-29) |
parents | 9278a60d6895 |
children | 2809ecb8c754 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apr-util"
4 VERSION="1.5.4"
5 CATEGORY="development"
6 SHORT_DESC="APR Library Utilities"
7 MAINTAINER="lehswe@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="http://apr.apache.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://archive.apache.org/dist/apr/$TARBALL"
14 BUILD_DEPENDS="apr-dev openssl-dev gdbm-dev postgresql-dev sqlite-dev \
15 unixODBC-dev expat-dev mysql-dev openldap-dev"
16 SPLIT="apr-dbd-mysql apr-dbd-odbc apr-dbd-pgsql apr-dbd-sqlite apr-crypto \
17 apr-dbm-gdbm apr-util-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --with-apr=/usr \
25 --with-gdbm=/usr \
26 --with-openssl=/usr \
27 --with-mysql \
28 --with-crypto \
29 --with-ldap \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 apr-util)
40 DEPENDS="apr expat util-linux-uuid"
41 copy libaprutil-1.so* aprutil.exp
42 ;;
43 apr-dbd-mysql)
44 DEPENDS="apr-util libcrypto libmysqlclient libssl zlib"
45 CAT="libdevel|MySQL DBD driver"
46 copy *mysql*.so
47 ;;
48 apr-dbd-odbc)
49 DEPENDS="apr-util libunixODBC"
50 CAT="libdevel|ODBC DBD driver"
51 copy *odbc*.so
52 ;;
53 apr-dbd-pgsql)
54 DEPENDS="apr-util libpostgresqlclient"
55 CAT="libdevel|PostgreSQL DBD driver"
56 copy *pgsql*.so
57 ;;
58 apr-dbd-sqlite)
59 DEPENDS="apr-util libsqlite"
60 CAT="libdevel|SQLite DBD driver"
61 copy *sqlite*.so
62 ;;
63 apr-crypto)
64 DEPENDS="apr-util libcrypto libssl"
65 CAT="libdevel|OpenSSL crypto plugin"
66 copy *crypto*.so
67 ;;
68 apr-dbm-gdbm)
69 DEPENDS="apr-util gdbm"
70 CAT="libdevel|GDBM plugin"
71 copy *dbm*.so
72 ;;
73 *-dev)
74 copy @dev
75 DEPENDS="apr-dev expat-dev gdbm-dev libcrypto-dev mysql-dev \
76 openldap-dev openssl-dev postgresql-dev sqlite-dev unixODBC-dev \
77 util-linux-uuid-dev zlib-dev"
78 ;;
79 esac
80 }