opt/dnsmasq/Pkgfile

26 lines
763 B
Plaintext
Raw Normal View History

2010-06-05 09:05:11 +02:00
# Description: Caching DNS forwarder and DHCP/TFTP server
2006-02-23 16:26:10 +01:00
# URL: http://www.thekelleys.org.uk/dnsmasq/doc.html
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: nettle
2006-02-23 16:26:10 +01:00
name=dnsmasq
2018-10-20 13:14:23 +02:00
version=2.80
release=1
2012-08-25 10:05:15 +02:00
source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.xz \
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
2008-05-31 17:26:02 +02:00
patch -p1 -i $SRC/$name-config.patch
2010-06-05 09:05:11 +02:00
make COPTS="-DHAVE_DNSSEC" CFLAGS="$CFLAGS -Wall -W"
make COPTS="-DHAVE_DNSSEC" PREFIX=$PKG/usr install
2008-02-13 12:26:31 +01:00
install -d $PKG/{var/lib/dhcp,etc/rc.d,usr/share/dnsmasq}
install -m 755 $SRC/dnsmasq $PKG/etc/rc.d/
2006-02-23 16:26:10 +01:00
install -m 644 dnsmasq.conf.example $PKG/etc/dnsmasq.conf
install -m 644 trust-anchors.conf $PKG/usr/share/dnsmasq
2006-02-23 16:26:10 +01:00
}