aboutsummaryrefslogtreecommitdiffstats
path: root/main/openresolv/APKBUILD
blob: 261179c392bff63a54e3b680db4b878590e445bf (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.5.7
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.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="4de84738d29d54b910f5600ffd12b62c  openresolv-3.5.7.tar.bz2"
sha256sums="a7fb7a353a3dea7fe62ede3a96de3c0fca00ddd0e9d010fa6e3f1168310fc592  openresolv-3.5.7.tar.bz2"
sha512sums="39f0199b36f49f16ef4a221e1759dea8b3fa03ebc789aaa8c5ee076fafc26b93cc3edbc7d5fcae2007bf80a6d4022fafed1f848ec27b1a27616c8a2f7079166c  openresolv-3.5.7.tar.bz2"