summaryrefslogtreecommitdiff
path: root/packages/dnsmasq
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dnsmasq')
-rw-r--r--packages/dnsmasq/dnsmasq_2.11.bb15
-rw-r--r--packages/dnsmasq/dnsmasq_2.15.bb12
2 files changed, 21 insertions, 6 deletions
diff --git a/packages/dnsmasq/dnsmasq_2.11.bb b/packages/dnsmasq/dnsmasq_2.11.bb
index e69de29bb2..7627ae3e09 100644
--- a/packages/dnsmasq/dnsmasq_2.11.bb
+++ b/packages/dnsmasq/dnsmasq_2.11.bb
@@ -0,0 +1,15 @@
+SECTION = "console/network"
+LICENSE = "GPL"
+DESCRIPTION = "Dnsmasq is a lightweight, easy to configure \
+DNS forwarder and DHCP server."
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+
+SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz"
+S = "${WORKDIR}/dnsmasq-${PV}"
+
+do_install () {
+ oe_runmake "PREFIX=${D}${prefix}" \
+ "BINDIR=${D}${bindir}" \
+ "MANDIR=${D}${mandir}" \
+ install
+}
diff --git a/packages/dnsmasq/dnsmasq_2.15.bb b/packages/dnsmasq/dnsmasq_2.15.bb
index f349810eaa..348646e3b0 100644
--- a/packages/dnsmasq/dnsmasq_2.15.bb
+++ b/packages/dnsmasq/dnsmasq_2.15.bb
@@ -17,13 +17,13 @@ INITSCRIPT_NAME = "dnsmasq"
INITSCRIPT_PARAMS = "defaults"
do_install () {
- oe_runmake "PREFIX=${D}/${prefix}" \
- "BINDIR=${D}/${bindir}" \
- "MANDIR=${D}/${mandir}" \
+ oe_runmake "PREFIX=${D}${prefix}" \
+ "BINDIR=${D}${bindir}" \
+ "MANDIR=${D}${mandir}" \
install
- install -d ${D}/${sysconfdir}/ ${D}/${sysconfdir}/init.d
- install -m 0755 ${WORKDIR}/dnsmasq.conf ${D}/${sysconfdir}/
- install -m 755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/dnsmasq
+ install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/dnsmasq.conf ${D}${sysconfdir}/
+ install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq
}
CONFFILES_${PN}_nylon = "${sysconfdir}/dnsmasq.conf"