aboutsummaryrefslogtreecommitdiffstats
path: root/main/openresolv/APKBUILD
blob: c84aa0093dd02b603ebcfdf85799bd7036c65c22 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openresolv
pkgver=3.5.5
pkgrel=0
pkgdesc="A framework for managing DNS information"
url="http://roy.marples.name/projects/openresolv"
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="31b07164b941d0ef0216b7d2a30bc573  openresolv-3.5.5.tar.bz2"
sha256sums="ff35f5ae311d624bb46e4a1d38dbcfb2935541b2c8cc7ba902eac9f295e59bf5  openresolv-3.5.5.tar.bz2"
sha512sums="eb9697dcf6f5b87b2173989b222d2c215b61b90fa78e75f46f47cff0d045114622f9e61681706959909c72936a67a4b75fc65e6ee02ebdf89bc0cd99e8681d55  openresolv-3.5.5.tar.bz2"