diff options
Diffstat (limited to 'abs/core-testing/apr/PKGBUILD')
-rw-r--r-- | abs/core-testing/apr/PKGBUILD | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/abs/core-testing/apr/PKGBUILD b/abs/core-testing/apr/PKGBUILD index 561e8e3..b0d3f4d 100644 --- a/abs/core-testing/apr/PKGBUILD +++ b/abs/core-testing/apr/PKGBUILD @@ -1,25 +1,31 @@ -# $Id: PKGBUILD 8457 2008-08-11 22:13:07Z pierre $ -# Maintainer: Pierre Schmitz <pierre@archlinux.de> +# $Id: PKGBUILD 72235 2010-03-13 20:22:25Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> pkgname=apr -pkgver=1.3.2 -pkgrel=2 +pkgver=1.4.2 +pkgrel=1 pkgdesc="The Apache Portable Runtime" arch=('i686' 'x86_64') url="http://apr.apache.org/" -depends=('e2fsprogs') +depends=('util-linux-ng>=2.16') options=('!libtool') license=('APACHE') -source=("http://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2") -md5sums=('a0631c63640176371dd4a5bf13beeee8') +source=(http://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2) +md5sums=('4b00e8f70c067893d075577962656b35') build() { - cd ${srcdir}/apr-${pkgver} + cd "${srcdir}/apr-${pkgver}" + export apr_cv_epoll_create1=no + export apr_cv_dup3=no + export apr_cv_accept4=no + export apr_cv_sock_cloexec=no - ./configure --prefix=/usr --includedir=/usr/include/apr-1 \ - --with-installbuilddir=/usr/share/apr-1/build \ - --enable-nonportable-atomics \ - --with-devrandom=/dev/urandom - make || return 1 - make DESTDIR=${pkgdir} install + ./configure --prefix=/usr --includedir=/usr/include/apr-1 \ + --with-installbuilddir=/usr/share/apr-1/build \ + --enable-nonportable-atomics \ + --with-devrandom=/dev/urandom || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 } |