Add dnsmasq 2.22 and consolodate metadata into a .inc.
authorChris Larson <clarson@kergoth.com>
Sat, 2 Apr 2005 03:32:15 +0000 (03:32 +0000)
committerChris Larson <clarson@kergoth.com>
Sat, 2 Apr 2005 03:32:15 +0000 (03:32 +0000)
BKrev: 424e123fnNZvoztkARYX6j5BXqiSWQ

packages/dnsmasq/dnsmasq.inc [new file with mode: 0644]
packages/dnsmasq/dnsmasq_2.11.bb
packages/dnsmasq/dnsmasq_2.15.bb
packages/dnsmasq/dnsmasq_2.22.bb [new file with mode: 0644]

diff --git a/packages/dnsmasq/dnsmasq.inc b/packages/dnsmasq/dnsmasq.inc
new file mode 100644 (file)
index 0000000..e69de29
index 7627ae3..da04fe6 100644 (file)
@@ -1,15 +1 @@
-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
-}
+include dnsmasq.inc
index 348646e..20cd730 100644 (file)
@@ -1,29 +1,3 @@
-SECTION = "console/network"
-DESCRIPTION = "Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server."
-HOMEPAGE = "http://www.thekelleys.org.uk/dnsmasq/doc.html"
-LICENSE = "GPL"
-MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
 PR = "r2"
 
-SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz \
-       file://init \
-       file://dnsmasq.conf"
-
-S = "${WORKDIR}/dnsmasq-${PV}"
-
-inherit update-rc.d
-
-INITSCRIPT_NAME = "dnsmasq"
-INITSCRIPT_PARAMS = "defaults"
-
-do_install () {
-       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
-}
-
-CONFFILES_${PN}_nylon = "${sysconfdir}/dnsmasq.conf"
+include dnsmasq.inc
diff --git a/packages/dnsmasq/dnsmasq_2.22.bb b/packages/dnsmasq/dnsmasq_2.22.bb
new file mode 100644 (file)
index 0000000..e69de29