summaryrefslogtreecommitdiff
path: root/dnsmasq/Pkgfile
blob: 1719060d9f5b5ec6c90852911b38e9921cedaa3f (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.80
    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 }

Generated by cgit