# Maintainer: Markus M. May <triplem@tu.archserver.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=apr-util
pkgver=1.3.10
pkgrel=2
pkgdesc="The Apache Portable Runtime"
arch=('i686' 'x86_64')
url="http://apr.apache.org/"
depends=('apr>=1.3.7' 'gdbm' 'expat' 'db>=4.8' 'libldap' 'unixodbc' 'postgresql-libs' 'libmysqlclient' 'sqlite3')
options=('!libtool')
license=('APACHE')
source=("http://www.apache.org/dist/apr/apr-util-${pkgver}.tar.bz2")
md5sums=('6a6f501a1b2a45166b8ffd6df29204bb')

build() {
	cd ${srcdir}/${pkgname}-${pkgver}

	./configure \
    --prefix=/usr \
    --with-apr=/usr/ \
		--with-pgsql=/usr/include/ \
    --with-mysql=/usr/include/mysql/ \
    --without-sqlite2 \
    --with-sqlite3 \
		--with-berkeley-db=/usr \
    --with-gdbm=/usr \
    --with-ldap
	make
	
}

package() {	
	cd ${srcdir}/${pkgname}-${pkgver}
	
	make DESTDIR=${pkgdir} install
}

# vim:set ts=2 sw=2 et:
