wok-next view apr-util/receipt @ rev 20450

xcb-util* are obsolete -> xorg-xcb-util*
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 14:24:29 2018 +0200 (2018-02-28)
parents ab7c63b80420
children 757d032c55c7
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 fix ld &&
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 genpkg_rules() {
36 case $PACKAGE in
37 apr-util)
38 copy libaprutil-1.so* aprutil.exp
39 DEPENDS="apr expat util-linux-uuid"
40 ;;
41 apr-dbd-mysql)
42 copy *mysql*.so
43 DEPENDS="apr-util libmysqlclient openssl zlib"
44 CAT="libdevel|MySQL DBD driver"
45 ;;
46 apr-dbd-odbc)
47 copy *odbc*.so
48 DEPENDS="apr-util libunixODBC"
49 CAT="libdevel|ODBC DBD driver"
50 ;;
51 apr-dbd-pgsql)
52 copy *pgsql*.so
53 DEPENDS="apr-util libpostgresqlclient"
54 CAT="libdevel|PostgreSQL DBD driver"
55 ;;
56 apr-dbd-sqlite)
57 copy *sqlite*.so
58 DEPENDS="apr-util libsqlite3"
59 CAT="libdevel|SQLite DBD driver"
60 ;;
61 apr-crypto)
62 copy *crypto*.so
63 DEPENDS="apr-util openssl"
64 CAT="libdevel|OpenSSL crypto plugin"
65 ;;
66 apr-dbm-gdbm)
67 copy *dbm*.so
68 DEPENDS="apr-util gdbm"
69 CAT="libdevel|GDBM plugin"
70 ;;
71 *-dev)
72 copy @dev
73 DEPENDS="apr-util apr-dbd-mysql apr-dbd-odbc apr-dbd-pgsql \
74 apr-dbd-sqlite apr-crypto apr-dbm-gdbm \
75 apr-dev expat-dev gdbm-dev mysql-dev openldap-dev openssl-dev \
76 postgresql-dev sqlite3-dev unixODBC-dev util-linux-uuid-dev \
77 zlib-dev"
78 ;;
79 esac
80 }