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