summaryrefslogtreecommitdiff
path: root/testing/apr/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-09 23:14:54 +0000
committerroot <root@rshg054.dnsready.net>2012-02-09 23:14:54 +0000
commit4bc61018eec54dbe50e7556ce01d2ef2859b2c9f (patch)
tree3ea5705a573fd320639395f484fc12335e0a1b88 /testing/apr/PKGBUILD
parent54b7119c36756b86ea463649ee972cd6c1ce5863 (diff)
Thu Feb 9 23:14:54 UTC 2012
Diffstat (limited to 'testing/apr/PKGBUILD')
-rw-r--r--testing/apr/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/apr/PKGBUILD b/testing/apr/PKGBUILD
new file mode 100644
index 000000000..633e58696
--- /dev/null
+++ b/testing/apr/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 149645 2012-02-08 23:59:08Z allan $
+# 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
+}