[arch-commits] Commit in apr-util/trunk (PKGBUILD)
Anatol Pomozov
anatolik at nymeria.archlinux.org
Mon Mar 24 15:22:58 UTC 2014
Date: Monday, March 24, 2014 @ 16:22:58
Author: anatolik
Revision: 208583
upgpkg: apr-util 1.5.3-4
apr-util has a moduler build structure. There is a core library with minimum
dependencies and a number of 'plugins'. Enable plugins: sqlite3, mysql, postrges,
nss, berkleydb. Move its dependencies to optional, e.g. unixodbc is needed only for
odbc plugin and no need to install to everyone (currently unixodbc package installed
on 85.40% of all machines but rarely used!).
Modified:
apr-util/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-24 15:21:12 UTC (rev 208582)
+++ PKGBUILD 2014-03-24 15:22:58 UTC (rev 208583)
@@ -4,11 +4,23 @@
pkgname=apr-util
pkgver=1.5.3
-pkgrel=3
+pkgrel=4
pkgdesc="The Apache Portable Runtime"
arch=('i686' 'x86_64')
url="http://apr.apache.org/"
-depends=('apr' 'gdbm' 'expat' 'libldap' 'unixodbc' 'openssl')
+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'
@@ -16,9 +28,10 @@
build() {
cd "${srcdir}/apr-util-${pkgver}"
- ./configure --prefix=/usr --with-apr=/usr \
- --with-ldap --with-crypto \
- --with-gdbm=/usr
+ ./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
}
More information about the arch-commits
mailing list