summaryrefslogtreecommitdiff
path: root/extra/apr/PKGBUILD
blob: 78753328de8cf7c410198e8f159aab399e3207fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 125814 2011-05-30 09:11:42Z 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.5
pkgrel=1
pkgdesc="The Apache Portable Runtime"
arch=('i686' 'x86_64' 'mips64el')
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
  make DESTDIR="${pkgdir}" install
}