2010-04-30 02:06:45 +02:00
|
|
|
# Template file for 'apr-util'
|
|
|
|
pkgname=apr-util
|
2011-07-04 12:18:05 +02:00
|
|
|
version=1.3.12
|
2010-12-11 02:27:58 +01:00
|
|
|
distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2"
|
2010-04-30 02:06:45 +02:00
|
|
|
build_style=gnu_configure
|
|
|
|
configure_args="--with-pgsql --with-mysql --with-sqlite3 --with-ldap
|
|
|
|
--with-berkeley-db --with-gdbm --with-apr=/usr --without-odbc
|
|
|
|
--with-expat=/usr --without-oracle"
|
|
|
|
short_desc="The Apache Portable Runtime Utility Library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-04 12:18:05 +02:00
|
|
|
homepage="http://apr.apache.org/"
|
|
|
|
license="Apache-2.0"
|
|
|
|
checksum=93976dc2f40d8622c4e9c355f419bb20f2c0dd843ee21a295a092d1c1b950d9c
|
2010-04-30 02:06:45 +02:00
|
|
|
long_desc="
|
|
|
|
APR is Apache's Portable Runtime Library, designed to be a support library
|
|
|
|
that provides a predictable and consistent interface to underlying
|
|
|
|
platform-specific implementations.
|
|
|
|
|
|
|
|
APR Util is a utilities library implemented on top of APR, providing database
|
|
|
|
access, xml parsing, and other useful functionality."
|
|
|
|
|
|
|
|
# XXX: add freetds and unixodbc modules.
|
|
|
|
subpackages="$pkgname-db $pkgname-gdbm $pkgname-sqlite $pkgname-mysql"
|
|
|
|
subpackages="${subpackages} $pkgname-pgsql $pkgname-ldap $pkgname-devel"
|
|
|
|
|
2011-07-04 12:18:05 +02:00
|
|
|
Add_dependency run apr
|
|
|
|
Add_dependency run expat
|
2010-04-30 02:06:45 +02:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libuuid
|
|
|
|
|
|
|
|
Add_dependency build apr-devel
|
|
|
|
Add_dependency build db-devel
|
2011-07-04 12:18:05 +02:00
|
|
|
Add_dependency build expat-devel
|
|
|
|
Add_dependency build gawk
|
2010-04-30 02:06:45 +02:00
|
|
|
Add_dependency build gdbm-devel
|
|
|
|
Add_dependency build libldap-devel
|
|
|
|
Add_dependency build libmysqlclient-devel
|
2011-07-04 12:18:05 +02:00
|
|
|
Add_dependency build libuuid-devel
|
|
|
|
Add_dependency build openssl-devel
|
2010-04-30 02:06:45 +02:00
|
|
|
Add_dependency build postgresql-libs-devel
|
2011-07-04 12:18:05 +02:00
|
|
|
Add_dependency build sed
|
|
|
|
Add_dependency build sqlite-devel
|
|
|
|
Add_dependency build zlib-devel
|
2010-04-30 02:06:45 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Remove unused stuff.
|
|
|
|
rm -f ${DESTDIR}/usr/lib/apr-util-1/*.a
|
|
|
|
}
|