diff options
author | root <root@rshg054.dnsready.net> | 2012-02-07 23:15:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-07 23:15:14 +0000 |
commit | 0dee03071a0643c3ee5820afa3c694dcef71d385 (patch) | |
tree | 2aa6cbee930040086600726e496a2bd87ec41ba8 /staging/apr | |
parent | 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (diff) |
Tue Feb 7 23:15:14 UTC 2012
Diffstat (limited to 'staging/apr')
-rw-r--r-- | staging/apr/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/staging/apr/PKGBUILD b/staging/apr/PKGBUILD new file mode 100644 index 000000000..e724d1e33 --- /dev/null +++ b/staging/apr/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 149224 2012-02-06 13:52:26Z pierre $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=apr +pkgver=1.4.5 +pkgrel=2 +pkgdesc="The Apache Portable Runtime" +arch=('i686' 'x86_64') +url="http://apr.apache.org/" +depends=('util-linux-ng>=2.16') +options=('!libtool') +license=('APACHE') +source=(http://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2) +md5sums=('8b53f5a5669d0597f2da889a2f576eb6') + +build() { + cd "${srcdir}/apr-${pkgver}" + export apr_cv_accept4=no + + ./configure --prefix=/usr --includedir=/usr/include/apr-1 \ + --with-installbuilddir=/usr/share/apr-1/build \ + --enable-nonportable-atomics \ + --with-devrandom=/dev/urandom + make +} + +check() { + cd "${srcdir}/apr-${pkgver}" + make -j1 check +} + +package() { + cd "${srcdir}/apr-${pkgver}" + make DESTDIR="${pkgdir}" install +} |