summaryrefslogtreecommitdiff
path: root/dnsmasq/Pkgfile
blob: f38b705dba5e8760345c2c4980e3a4d95292251c (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.58
    7 release=1
    8 source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.lzma \
    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 }

Generated by cgit