2006-02-23 15:26:10 +00:00
|
|
|
# Description: Caching DNS forwarder and DHCP server
|
|
|
|
# URL: http://www.thekelleys.org.uk/dnsmasq/doc.html
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=dnsmasq
|
2009-08-31 18:49:36 +02:00
|
|
|
version=2.50
|
2008-05-31 17:26:02 +02:00
|
|
|
release=1
|
2008-07-12 10:00:58 +02:00
|
|
|
source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.gz \
|
2006-03-18 08:53:58 +00:00
|
|
|
$name-config.patch dnsmasq)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2008-02-13 12:26:31 +01:00
|
|
|
|
2008-05-31 17:26:02 +02:00
|
|
|
patch -p1 -i $SRC/$name-config.patch
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
2008-05-31 17:26:02 +02:00
|
|
|
make PREFIX=$PKG/usr install
|
2008-02-13 12:26:31 +01:00
|
|
|
|
2006-02-23 15:26:10 +00: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
|
|
|
|
}
|