summaryrefslogtreecommitdiffstats
path: root/abs/core/apr/PKGBUILD
blob: 561e8e349fd9de5f9a90236fc7c799252cb14654 (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
# $Id: PKGBUILD 8457 2008-08-11 22:13:07Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>

pkgname=apr
pkgver=1.3.2
pkgrel=2
pkgdesc="The Apache Portable Runtime"
arch=('i686' 'x86_64')
url="http://apr.apache.org/"
depends=('e2fsprogs')
options=('!libtool')
license=('APACHE')
source=("http://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2")
md5sums=('a0631c63640176371dd4a5bf13beeee8')

build() {
	cd ${srcdir}/apr-${pkgver}

	./configure --prefix=/usr --includedir=/usr/include/apr-1 \
		--with-installbuilddir=/usr/share/apr-1/build \
		--enable-nonportable-atomics \
		--with-devrandom=/dev/urandom
	make || return 1
	make DESTDIR=${pkgdir} install
}