summaryrefslogtreecommitdiff
path: root/dnsmasq/Pkgfile
blob: 518fb3c5eb835911a80aba627117d4118aeeb5e0 (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.85
    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 	#sed 's/rc2//' -i VERSION
   16 	patch -p1 -i $SRC/$name-config.patch
   17 
   18 	make COPTS="-DHAVE_DNSSEC" CFLAGS="$CFLAGS -W -Wall"
   19 	make PREFIX=$PKG/usr install-common
   20 
   21 	install -d  $PKG/{var/lib/dhcp,etc/rc.d,usr/share/dnsmasq}
   22 
   23 	install -m 755 $SRC/dnsmasq $PKG/etc/rc.d/
   24 	install -m 644 dnsmasq.conf.example $PKG/etc/dnsmasq.conf
   25 	install -m 644 trust-anchors.conf $PKG/usr/share/dnsmasq
   26 }

Generated by cgit