vp-build/srcpkgs/apr-util/template
2010-12-11 02:27:58 +01:00

46 lines
1.5 KiB
Plaintext

# Template file for 'apr-util'
pkgname=apr-util
version=1.3.10
distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2"
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>"
checksum=1ac0c049078e17f6bf609bf763634d6851961b5cb81fbca2f9c9810510d017ee
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"
Add_dependency run glibc
Add_dependency run libuuid
Add_dependency run expat
Add_dependency run apr
Add_dependency build zlib-devel
Add_dependency build openssl-devel
Add_dependency build apr-devel
Add_dependency build libuuid-devel
Add_dependency build expat-devel
Add_dependency build db-devel
Add_dependency build gdbm-devel
Add_dependency build sqlite-devel
Add_dependency build libldap-devel
Add_dependency build libmysqlclient-devel
Add_dependency build postgresql-libs-devel
post_install()
{
# Remove unused stuff.
rm -f ${DESTDIR}/usr/lib/apr-util-1/*.a
}