[arch-commits] Commit in apr/repos (staging-i686 testing-i686 testing-i686/PKGBUILD)
Allan McRae
allan at archlinux.org
Wed Feb 8 23:59:08 UTC 2012
Date: Wednesday, February 8, 2012 @ 18:59:07
Author: allan
Revision: 149644
db-move: moved apr from [staging] to [testing] (i686)
Added:
apr/repos/testing-i686/
apr/repos/testing-i686/PKGBUILD
(from rev 149641, apr/repos/staging-i686/PKGBUILD)
Deleted:
apr/repos/staging-i686/
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: apr/repos/testing-i686/PKGBUILD (from rev 149641, apr/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-02-08 23:59:07 UTC (rev 149644)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at 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
+}
More information about the arch-commits
mailing list