Merging
[vuplus_openembedded] / dnsmasq / dnsmasq_2.15.oe
1 SECTION = "console/network"
2 DESCRIPTION = "Dnsmasq is a lightweight, easy to configure \
3 LICENSE = "GPL"
4 DNS forwarder and DHCP server."
5 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
6 PR = "r1"
7
8 SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz \
9         file://init"
10 S = "${WORKDIR}/dnsmasq-${PV}"
11
12 do_install () {
13         oe_runmake "PREFIX=${D}/${prefix}" \
14                    "BINDIR=${D}/${bindir}" \
15                    "MANDIR=${D}/${mandir}" \
16                    install
17         install -d ${D}/${sysconfdir}/ ${D}/${sysconfdir}/init.d
18         install -m 0755 ${S}/dnsmasq.conf.example ${D}/${sysconfdir}/dnsmasq.conf
19         install -m 755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/dnsmasq
20 }