aboutsummaryrefslogtreecommitdiffstats
path: root/main/openresolv/APKBUILD
blob: f79e2e9232ea406f8be5ff4ecc59d39272317594 (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.8.1
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="378cac69367745c03a932559298d6b0d  openresolv-3.8.1.tar.xz"
sha256sums="d259d78fd92ac288f1b27959daee11be9a40d70e91af5432046164c260de1d43  openresolv-3.8.1.tar.xz"
sha512sums="390bf30bb85b071839104e5c7e276b402f6f485edc038e38da389730d82e614bb11b0dde44a55aa2ca5e790b374671a9c89cc07b053633401a608150eebbf2c8  openresolv-3.8.1.tar.xz"