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

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 82b613cfd1e0
children
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"
14 TARBALL_SHA1="4cc73bc36ca697419f555476f2fc1c63df6069f4"
16 BUILD_DEPENDS="apr-dev openssl-dev gdbm-dev postgresql-dev sqlite3-dev \
17 unixODBC-dev expat-dev mysql-dev openldap-dev"
18 SPLIT="apr-dbd-mysql apr-dbd-odbc apr-dbd-pgsql apr-dbd-sqlite apr-crypto \
19 apr-dbm-gdbm apr-ldap $PACKAGE-dev"
21 COPY_std="libaprutil-1.so* aprutil.exp"
22 COPY_apr_dbd_mysql="*mysql*.so"
23 COPY_apr_dbd_odbc="*odbc*.so"
24 COPY_apr_dbd_pgsql="*pgsql*.so"
25 COPY_apr_dbd_sqlite="*sqlite*.so"
26 COPY_apr_crypto="*crypto*.so"
27 COPY_apr_dbm_gdbm="*dbm*.so"
28 COPY_apr_ldap="apr_ldap*.so"
30 CAT_apr_dbd_mysql="libdevel|MySQL DBD driver"
31 CAT_apr_dbd_odbc="libdevel|ODBC DBD driver"
32 CAT_apr_dbd_pgsql="libdevel|PostgreSQL DBD driver"
33 CAT_apr_dbd_sqlite="libdevel|SQLite DBD driver"
34 CAT_apr_crypto="libdevel|OpenSSL crypto plugin"
35 CAT_apr_dbm_gdbm="libdevel|GDBM plugin"
36 CAT_apr_ldap="libdevel|LDAP plugin"
38 DEPENDS_std="apr expat"
39 DEPENDS_apr_dbd_mysql="libmysqlclient $PACKAGE"
40 DEPENDS_apr_dbd_odbc="libunixODBC $PACKAGE"
41 DEPENDS_apr_dbd_pgsql="libpostgresqlclient $PACKAGE"
42 DEPENDS_apr_dbd_sqlite="libsqlite3 $PACKAGE"
43 DEPENDS_apr_crypto="openssl $PACKAGE"
44 DEPENDS_apr_dbm_gdbm="libgdbm $PACKAGE"
45 DEPENDS_apr_ldap="libldap $PACKAGE"
46 DEPENDS_dev="$PACKAGE apr-dbd-mysql apr-dbd-odbc apr-dbd-pgsql apr-dbd-sqlite \
47 apr-crypto apr-dbm-gdbm apr-ldap apr-dev expat-dev gdbm-dev mysql-dev \
48 openldap-dev openssl-dev postgresql-dev sqlite3-dev unixODBC-dev \
49 util-linux-uuid-dev zlib-dev"
51 compile_rules() {
52 ./configure \
53 --prefix=/usr \
54 --with-apr=/usr \
55 --with-gdbm=/usr \
56 --with-openssl=/usr \
57 --with-mysql \
58 --with-crypto \
59 --with-ldap \
60 $CONFIGURE_ARGS &&
61 make &&
62 make install
63 }