aboutsummaryrefslogtreecommitdiffstats
path: root/main/openresolv/APKBUILD
blob: fbd34d96788d48b67107ad2d6fa46f8e3d609b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openresolv
pkgver=3.5.6
pkgrel=1
pkgdesc="A framework for managing DNS information"
url="http://roy.marples.name/projects/openresolv"
arch="noarch"
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 "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--libexecdir=/usr/lib \
		--sysconfdir=/etc \
		|| return 1
	make || return 1
}

package() {
	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"