Commit 9356872d authored by Natanael Copa's avatar Natanael Copa

main/apr: upgrade to 1.4.2

parent aca7653e
# 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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment