# $Id: PKGBUILD 209701 2014-04-01 14:35:11Z anatolik $ # Maintainer: Jan de Groot # Maintainer: Pierre Schmitz pkgname=apr-util pkgver=1.5.3 pkgrel=4 pkgdesc="The Apache Portable Runtime" arch=('i686' 'x86_64') url="http://apr.apache.org/" depends=('apr' 'expat') makedepends=('gdbm' 'libldap' 'unixodbc' 'openssl' 'nss' 'sqlite' 'libmariadbclient' 'db' 'postgresql-client') optdepends=( 'gdbm: enable gdbm support' 'libldap: enable ldap support' 'unixodbc: enable odbc support' 'libmariadbclient: enable mysql/mariadb support' 'postgresql-client: enable postgres support' 'db: enable berkley db support' 'sqlite: enable sqlite support' 'nss: enable nss crypto support' 'openssl: enable openssl crypto suppot' ) license=('APACHE') source=(http://www.apache.org/dist/apr/apr-util-${pkgver}.tar.bz2{,.asc}) md5sums=('6f3417691c7a27090f36e7cf4d94b36e' 'SKIP') build() { cd "${srcdir}/apr-util-${pkgver}" ./configure --prefix=/usr --with-apr=/usr --with-ldap --with-crypto \ --with-gdbm=/usr --with-sqlite3=/usr --with-nss=/usr --with-odbc=/usr \ --with-berkeley-db=/usr --with-pgsql=/usr --with-mysql=/usr --with-oracle=/usr \ --with-openssl=/usr make } check() { cd "${srcdir}/apr-util-${pkgver}" make -j1 check } package() { cd "${srcdir}/apr-util-${pkgver}" make DESTDIR="${pkgdir}" install }