blob: ee797160c0d603973279c41561a277b26d7e5b1b (
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 # Depends on: nettle
5
6 name=dnsmasq
7 version=2.88
8 release=1
9 source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.xz \
10 $name-config.patch dnsmasq)
11
12 build () {
13 cd $name-$version
14
15 patch -p1 -i $SRC/$name-config.patch
16
17 make COPTS="-DHAVE_DNSSEC" CFLAGS="$CFLAGS -W -Wall"
18 make PREFIX=$PKG/usr install-common
19
20 install -d $PKG/{var/lib/dhcp,etc/rc.d,usr/share/dnsmasq}
21
22 install -m 755 $SRC/dnsmasq $PKG/etc/rc.d/
23 install -m 644 dnsmasq.conf.example $PKG/etc/dnsmasq.conf
24 install -m 644 trust-anchors.conf $PKG/usr/share/dnsmasq
25 }
|