[arch-commits] Commit in apr/repos (3 files)

Allan McRae allan at archlinux.org
Wed Feb 8 18:59:09 EST 2012


    Date: Wednesday, February 8, 2012 @ 18:59:08
  Author: allan
Revision: 149645

db-move: moved apr from [staging] to [testing] (x86_64)

Added:
  apr/repos/testing-x86_64/
  apr/repos/testing-x86_64/PKGBUILD
    (from rev 149641, apr/repos/staging-x86_64/PKGBUILD)
Deleted:
  apr/repos/staging-x86_64/

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: apr/repos/testing-x86_64/PKGBUILD (from rev 149641, apr/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-02-08 23:59:08 UTC (rev 149645)
@@ -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