summaryrefslogtreecommitdiff
path: root/repo/openresolv/openresolv.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/openresolv/openresolv.xibuild')
-rw-r--r--repo/openresolv/openresolv.xibuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/openresolv/openresolv.xibuild b/repo/openresolv/openresolv.xibuild
new file mode 100644
index 0000000..f60297b
--- /dev/null
+++ b/repo/openresolv/openresolv.xibuild
@@ -0,0 +1,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
+}
+