wok-next view apr-util/receipt @ rev 20406
Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 08 02:55:48 2017 +0200 (2017-12-08) |
parents | 2809ecb8c754 |
children | 0e7893ac206d |
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 libcrypto libmysqlclient libssl 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 libcrypto libssl"
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 }