aboutsummaryrefslogtreecommitdiffstats
path: root/main/openresolv/APKBUILD
blob: 7b8e452406ecfe9e88ab1a9a32942971ac4ab4a3 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openresolv
pkgver=3.7.2
pkgrel=0
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.xz"

_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="6452490418e6be1674c015082b3af058  openresolv-3.7.2.tar.xz"
sha256sums="8eac062f3c67d636bd0e898893bd5c7368ad0c470d511110be2d0e73c14de037  openresolv-3.7.2.tar.xz"
sha512sums="cc5b54bf0d4e62c345cad9a4973447d38773d992ac9753ca873c472e8b5c4a3f5d926808c1627b54780ff7d70cd3d4e5f26fa169f7337323eae9e33326d7e349  openresolv-3.7.2.tar.xz"