opt/dnsmasq/Pkgfile

22 lines
599 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Caching DNS forwarder and DHCP server
# URL: http://www.thekelleys.org.uk/dnsmasq/doc.html
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
name=dnsmasq
2008-02-13 12:26:31 +01:00
version=2.41
2008-02-18 17:24:58 +01:00
release=2
2006-02-23 16:26:10 +01:00
source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.gz \
2006-03-18 09:53:58 +01:00
$name-config.patch dnsmasq)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2008-02-13 12:26:31 +01:00
2006-03-18 09:53:58 +01:00
patch -p1 < $SRC/$name-config.patch
2006-02-23 16:26:10 +01:00
make
make PREFIX=$PKG/usr install
2008-02-13 12:26:31 +01:00
2006-02-23 16:26:10 +01:00
install -D -m 755 $SRC/dnsmasq $PKG/etc/rc.d/dnsmasq
install -m 644 dnsmasq.conf.example $PKG/etc/dnsmasq.conf
install -d $PKG/var/lib/dhcp
}