blob: bd6e03eeac018599e94efcb96b2a7b18fb77c335 (
plain)
1 # Description: Caching DNS forwarder and DHCP server
2 # URL: http://www.thekelleys.org.uk/dnsmasq/doc.html
3 # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
4
5 name=dnsmasq
6 version=2.45
7 release=1
8 source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.gz \
9 $name-config.patch dnsmasq)
10
11 build () {
12 cd $name-$version
13
14 patch -p1 -i $SRC/$name-config.patch
15 make
16 make PREFIX=$PKG/usr install
17
18 install -D -m 755 $SRC/dnsmasq $PKG/etc/rc.d/dnsmasq
19 install -m 644 dnsmasq.conf.example $PKG/etc/dnsmasq.conf
20 install -d $PKG/var/lib/dhcp
21 }
|