aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-10 18:39:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-10 18:39:45 +0000
commit99445d72e2dad154e98be81e9ba8533054b4a35b (patch)
treeedaf3ac67f90800fa4878b145307057dc6aae2dd
parent02e3302526c9faa057899d99ed5b0204ddbb288b (diff)
downloadaports-99445d72e2dad154e98be81e9ba8533054b4a35b.tar.bz2
aports-99445d72e2dad154e98be81e9ba8533054b4a35b.tar.xz
main/openresolv: upgrade to 3.4.0
-rw-r--r--main/openresolv/APKBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/main/openresolv/APKBUILD b/main/openresolv/APKBUILD
index 9430d9baad..894a02f694 100644
--- a/main/openresolv/APKBUILD
+++ b/main/openresolv/APKBUILD
@@ -1,18 +1,26 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openresolv
-pkgver=3.3.2
+pkgver=3.4.0
pkgrel=0
pkgdesc="A framework for managing DNS information"
url="http://roy.marples.name/projects/openresolv"
-arch="x86 x86_64"
+arch="noarch"
license="BSD-2"
depends=""
subpackages="$pkgname-doc"
source="http://roy.marples.name/downloads/openresolv/openresolv-$pkgver.tar.bz2"
-
build() {
cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --sysconfdir=/etc \
+ || return
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
-md5sums="b4d2d1fd7dbfdc3c2a57fe54567070b9 openresolv-3.3.2.tar.bz2"
+md5sums="37a916c5d8157cd7c0edbb8621573804 openresolv-3.4.0.tar.bz2"