summaryrefslogtreecommitdiff
path: root/repo/apr/apr.xibuild
blob: 247dd3fc82acaf771d8637cce2bcd10a263083c5 (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
#!/bin/sh

NAME="apr"
DESC="The Apache Portable Runtime"

MAKEDEPS="util-linux"

PKG_VER=1.7.0
SOURCE="https://www.apache.org/dist/apr/apr-$PKG_VER.tar.bz2"

ADDITIONAL="
apr-1.6.2-dont-test-dlclose.patch
semtimedop-s390x.patch
"

prepare () {
    apply_patches
}

build() {
	./configure \
		--prefix=/usr \
		--datadir=/usr/share \
		--enable-nonportable-atomics \
		--with-devrandom=/dev/urandom
	make
}
package() {
	make DESTDIR="$PKG_DEST" install
}