blob: 1eeb61bd42695ec5b78b65e8b21f23761240e376 (
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
29
30
31
32
33
34
35
|
# $Id: PKGBUILD 211680 2014-04-23 03:13:46Z anatolik $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=apr
pkgver=1.5.1
pkgrel=1
pkgdesc="The Apache Portable Runtime"
arch=('i686' 'x86_64')
url="http://apr.apache.org/"
depends=('util-linux')
license=('APACHE')
source=(http://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2{,.asc})
md5sums=('5486180ec5a23efb5cae6d4292b300ab'
'SKIP')
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 --disable-static
make
}
check() {
cd "${srcdir}/apr-${pkgver}"
make -j1 check
}
package() {
cd "${srcdir}/apr-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|