blob: 5afff49f0002e8a10da1ea1277212680e9739ca5 (
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.81
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 -Wall -W"
18 make COPTS="-DHAVE_DNSSEC" PREFIX=$PKG/usr install
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 }
|