# Description: Caching DNS forwarder and DHCP/TFTP server # URL: http://www.thekelleys.org.uk/dnsmasq/doc.html # Maintainer: Juergen Daubert, jue at crux dot nu name=dnsmasq version=2.79 release=1 source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.xz \ $name-config.patch dnsmasq) build () { cd $name-$version patch -p1 -i $SRC/$name-config.patch make make PREFIX=$PKG/usr install install -D -m 755 $SRC/dnsmasq $PKG/etc/rc.d/dnsmasq install -m 644 dnsmasq.conf.example $PKG/etc/dnsmasq.conf install -d $PKG/var/lib/dhcp }