summaryrefslogtreecommitdiff
path: root/repo/system/ldns.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-31 22:52:00 +0000
committerdavidovski <david@davidovski.xyz>2022-01-31 22:52:00 +0000
commita480c4fad9409b29ff44bdafff33d85593de933b (patch)
tree0062349721e7c9f4677dc74a9b1354fed1636d6d /repo/system/ldns.xibuild
parent8234ae9329c8e0e155a5b98f61944f4d81aae202 (diff)
added ldns
Diffstat (limited to 'repo/system/ldns.xibuild')
-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
+}