aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-29 11:59:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:21 +0000
commit7e61d1ec63045bea73675752e5541ee2837870db (patch)
tree31817cbad3b806a718b74feeeec4ead9f9eaa0f4
parentb9a54922fd03abf848298838d89b76b598b2546f (diff)
downloadaports-7e61d1ec63045bea73675752e5541ee2837870db.tar.bz2
aports-7e61d1ec63045bea73675752e5541ee2837870db.tar.xz
main/openresolv: update layout
-rw-r--r--main/openresolv/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/openresolv/APKBUILD b/main/openresolv/APKBUILD
index 55887f8719..fbd34d9678 100644
--- a/main/openresolv/APKBUILD
+++ b/main/openresolv/APKBUILD
@@ -1,18 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openresolv
pkgver=3.5.6
-pkgrel=0
+pkgrel=1
pkgdesc="A framework for managing DNS information"
url="http://roy.marples.name/projects/openresolv"
arch="noarch"
-license="BSD-2"
+license="BSD"
depends=""
subpackages="$pkgname-doc"
#source="http://roy.marples.name/downloads/openresolv/openresolv-$pkgver.tar.bz2"
source="http://dev.alpinelinux.org/archive/openresolv/openresolv-$pkgver.tar.bz2"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -20,13 +21,14 @@ build() {
--libexecdir=/usr/lib \
--sysconfdir=/etc \
|| return 1
- make
+ make || return 1
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
}
+
md5sums="ac03b7a52cf0f2040cc70df641f1baff openresolv-3.5.6.tar.bz2"
sha256sums="db4671277ee137cf23bac15c5d4cbdc3e55c856d1f4e5f522bb09eba76e06cd8 openresolv-3.5.6.tar.bz2"
sha512sums="202d12224627a4f88bad114c1f48b3d9a9a0008f2bd672c355d2f80db44c4d07b12fe2b757715d7f88fdfb7c39d05a20782d3fa80df695f03a251af823705bb1 openresolv-3.5.6.tar.bz2"