blob: da005faf6db4871991a9c42ecd786a88ec12faec (
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.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="c3485c50efb75cd7857b288afbfb15bb openresolv-3.7.1.tar.xz"
sha256sums="8b929f83feb537af3432ea2a73b3ff7e73e9bd05c1500c94c7cb3fc4e1ea237d openresolv-3.7.1.tar.xz"
sha512sums="30c308f162d3adc14628c2258cc8ae39cc5f36538bba7d7f8aadf4cad1cef87af156e095c025f417e8b52bb1265d7489e7bbb33392e9a7fb2fb4e6d1b878d66c openresolv-3.7.1.tar.xz"
|