22 lines
600 B
Plaintext
22 lines
600 B
Plaintext
# Description: Caching DNS forwarder and DHCP server
|
|
# URL: http://www.thekelleys.org.uk/dnsmasq/doc.html
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
|
|
|
name=dnsmasq
|
|
version=2.49
|
|
release=1
|
|
source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.gz \
|
|
$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
|
|
}
|