summaryrefslogtreecommitdiff
path: root/repo/openresolv/openresolv.xibuild
blob: f60297be0bae1bef9c25db4514e73606f8635364 (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
#!/bin/sh

NAME="openresolv"
DESC="A framework for managing DNS information"

MAKEDEPS="make"

PKG_VER=3.12.0
SOURCE="http://roy.marples.name/downloads/openresolv/openresolv-$PKG_VER.tar.xz"

ADDITIONAL="
detect_init-remove-irrelevant.patch
"

prepare () {
    apply_patches
}

build() {
	./configure \
		--libexecdir=/lib/resolvconf \
		--mandir=/usr/share/man \
		--rundir=/run \
		--sysconfdir=/etc
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
}