diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-06 22:25:29 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-06 22:25:29 (GMT) |
commit | 05655795ce0c1858312523444d9ad6120b25faf9 (patch) | |
tree | 4673b744604268cf5fdbde2aa04e6db559c0f138 | |
parent | 401ad9311566b025a4544b4cf1622fdd93e05b9d (diff) | |
download | linhes_pkgbuild-05655795ce0c1858312523444d9ad6120b25faf9.zip linhes_pkgbuild-05655795ce0c1858312523444d9ad6120b25faf9.tar.gz linhes_pkgbuild-05655795ce0c1858312523444d9ad6120b25faf9.tar.bz2 |
apr: 1.4.6
-rw-r--r-- | abs/core/apr/PKGBUILD | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/abs/core/apr/PKGBUILD b/abs/core/apr/PKGBUILD index b0d3f4d..a1e496a 100644 --- a/abs/core/apr/PKGBUILD +++ b/abs/core/apr/PKGBUILD @@ -1,31 +1,35 @@ -# $Id: PKGBUILD 72235 2010-03-13 20:22:25Z jgc $ +# $Id: PKGBUILD 158966 2012-05-13 20:20:53Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Pierre Schmitz <pierre@archlinux.de> pkgname=apr -pkgver=1.4.2 +pkgver=1.4.6 pkgrel=1 pkgdesc="The Apache Portable Runtime" arch=('i686' 'x86_64') url="http://apr.apache.org/" -depends=('util-linux-ng>=2.16') +depends=('util-linux') options=('!libtool') license=('APACHE') source=(http://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2) -md5sums=('4b00e8f70c067893d075577962656b35') +md5sums=('ffee70a111fd07372982b0550bbb14b7') build() { 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 || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + --with-devrandom=/dev/urandom + make +} + +check() { + cd "${srcdir}/apr-${pkgver}" + make -j1 check +} + +package() { + cd "${srcdir}/apr-${pkgver}" + make DESTDIR="${pkgdir}" install } |