summaryrefslogtreecommitdiff
path: root/packages/nsd/nsd_2.0.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nsd/nsd_2.0.0.bb')
-rw-r--r--packages/nsd/nsd_2.0.0.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/nsd/nsd_2.0.0.bb b/packages/nsd/nsd_2.0.0.bb
index e69de29bb2..85feae9580 100644
--- a/packages/nsd/nsd_2.0.0.bb
+++ b/packages/nsd/nsd_2.0.0.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "NSD is an authoritative only, high performance, simple and opensource name server"
+SECTION = "console/network"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+
+SRC_URI = "http://www.nlnetlabs.nl/downloads/nsd/nsd-${PV}.tar.gz"
+LICENSE = "nsd"
+inherit autotools
+
+do_install() {
+ oe_runmake configdir=${D}/${sysconfdir}/nsd \
+ pidfile=${D}/${localstatedir}/run/nsd.pid \
+ zonesfile=${D}/${sysconfdir}/nsd/nsd.zones \
+ dbfile=${D}/${sysconfdir}/nsd/nsd.db \
+ configfile=${D}/${sysconfdir}/nsd/nsdc.conf \
+ zonesdir=${D}/${sysconfdir}/nsd \
+ prefix=${D}/${prefix} \
+ exec_prefix=${D}/${exec_prefix} \
+ sbindir=${D}/${sbindir} \
+ mandir=${D}/${mandir} \
+ install
+}
+