summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repo/system/ldns.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/system/ldns.xibuild b/repo/system/ldns.xibuild
new file mode 100644
index 0000000..57cc5e5
--- /dev/null
+++ b/repo/system/ldns.xibuild
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+MAKEDEPS=(make libpcap)
+DEPS=(openssl libpcap)
+
+PKG_VER=1.8.1
+SOURCE=https://www.nlnetlabs.nl/downloads/ldns/ldns-$PKG_VER.tar.gz
+DESC="Free software implementation of IDNA2008, Punycode and TR46"
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-rpath \
+ --with-drill \
+ --with-examples \
+ --with-trust-anchor=/etc/trusted-key.key \
+
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}