blob: 0606a6396edd64e319d48ae44037ef20f472b102 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
SECTION = "console/network"
DESCRIPTION = "Dnsmasq is a lightweight, easy to configure \
LICENSE = "GPL"
DNS forwarder and DHCP server."
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
PR = "r1"
SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz \
file://init"
S = "${WORKDIR}/dnsmasq-${PV}"
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 ${S}/dnsmasq.conf.example ${D}/${sysconfdir}/dnsmasq.conf
install -m 755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/dnsmasq
}
|