aboutsummaryrefslogtreecommitdiffstats
path: root/main/apr
diff options
context:
space:
mode:
Diffstat (limited to 'main/apr')
-rw-r--r--main/apr/APKBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/main/apr/APKBUILD b/main/apr/APKBUILD
index 097cd35e00..98891c9ab2 100644
--- a/main/apr/APKBUILD
+++ b/main/apr/APKBUILD
@@ -1,23 +1,28 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apr
-pkgver=1.3.9
+pkgver=1.4.2
pkgrel=0
pkgdesc="The Apache Portable Runtime"
url="http://apr.apache.org/"
license="APACHE"
depends=
-makedepends="e2fsprogs-dev"
+makedepends="util-linux-ng-dev"
subpackages="$pkgname-dev"
source="http://www.apache.org/dist/$pkgname/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
./configure --prefix=/usr \
--datadir=/usr/share \
--enable-nonportable-atomics \
--with-devrandom=/dev/urandom
make || return 1
- make DESTDIR=${pkgdir} install
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
}
# basicly everything thats not a *.so* file belongs to the -dev package
@@ -32,4 +37,4 @@ dev() {
return 0
}
-md5sums="7138ac64d4458eeeaa9b9aefa4e6e51b apr-1.3.9.tar.bz2"
+md5sums="4b00e8f70c067893d075577962656b35 apr-1.4.2.tar.bz2"