diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-31 06:03:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-31 06:03:26 +0000 |
commit | 9356872d46b2bc033c72968498cc44cbbbc380bc (patch) | |
tree | 3975eb971c17f57ef8dc2425cc6a2e38d6bd3f8a /main/apr/APKBUILD | |
parent | aca7653eb5413a7e683361a6c06adbb49f03293b (diff) | |
download | aports-9356872d46b2bc033c72968498cc44cbbbc380bc.tar.bz2 aports-9356872d46b2bc033c72968498cc44cbbbc380bc.tar.xz |
main/apr: upgrade to 1.4.2
Diffstat (limited to 'main/apr/APKBUILD')
-rw-r--r-- | main/apr/APKBUILD | 15 |
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" |