aboutsummaryrefslogtreecommitdiffstats
path: root/main/apr
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-31 06:03:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-31 06:03:26 +0000
commit9356872d46b2bc033c72968498cc44cbbbc380bc (patch)
tree3975eb971c17f57ef8dc2425cc6a2e38d6bd3f8a /main/apr
parentaca7653eb5413a7e683361a6c06adbb49f03293b (diff)
downloadaports-9356872d46b2bc033c72968498cc44cbbbc380bc.tar.bz2
aports-9356872d46b2bc033c72968498cc44cbbbc380bc.tar.xz
main/apr: upgrade to 1.4.2
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"