aboutsummaryrefslogtreecommitdiffstats
path: root/main/openresolv/APKBUILD
blob: a54fa4fb4a3229ab0188b08f25976cae80b8e891 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openresolv
pkgver=3.5.1
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="b7d404db5a74e530a5c0c5eac1c44d7f  openresolv-3.5.1.tar.bz2"