opt/dnsmasq/Pkgfile

26 lines
703 B
Plaintext
Raw Normal View History

2010-06-05 09:05:11 +02:00
# Description: Caching DNS forwarder and DHCP/TFTP server
2021-04-08 12:42:27 +02:00
# URL: http://www.thekelleys.org.uk/dnsmasq/doc.html
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: nettle
2006-02-23 16:26:10 +01:00
name=dnsmasq
2024-02-14 17:19:06 +01:00
version=2.90
2020-04-13 12:32:09 +02:00
release=1
2012-08-25 10:05:15 +02:00
source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.xz \
2021-01-27 10:48:06 +01:00
$name-config.patch dnsmasq)
2006-02-23 16:26:10 +01:00
build () {
2021-01-27 10:48:06 +01:00
cd $name-$version
2008-02-13 12:26:31 +01:00
2021-01-27 10:48:06 +01:00
patch -p1 -i $SRC/$name-config.patch
2019-06-28 15:59:55 +02:00
2021-01-27 10:48:06 +01:00
make COPTS="-DHAVE_DNSSEC" CFLAGS="$CFLAGS -W -Wall"
make PREFIX=$PKG/usr install-common
2008-02-13 12:26:31 +01:00
2021-01-27 10:48:06 +01:00
install -d $PKG/{var/lib/dhcp,etc/rc.d,usr/share/dnsmasq}
2021-01-27 10:48:06 +01:00
install -m 755 $SRC/dnsmasq $PKG/etc/rc.d/
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
}