28 lines
860 B
Plaintext
28 lines
860 B
Plaintext
# Template file for 'dnsmasq'
|
|
pkgname=dnsmasq
|
|
version=2.70
|
|
revision=1
|
|
hostmakedepends="pkg-config"
|
|
makedepends="dbus-devel libcap-devel libidn-devel"
|
|
conf_files="/etc/dnsmasq.conf"
|
|
system_accounts="dnsmasq"
|
|
short_desc="Lightweight, easy to configure DNS forwarder and DHCP server"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://www.thekelleys.org.uk/dnsmasq/doc.html"
|
|
distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=8eb7bf53688d6aaede5c90cfd2afcce04803a4efbddfbeecc6297180749e98af
|
|
|
|
do_build() {
|
|
echo '#define HAVE_DBUS' >> src/config.h
|
|
make CC=$CC ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
|
|
vinstall dnsmasq.conf.example 644 etc dnsmasq.conf
|
|
vinstall ${FILESDIR}/dnsmasq.service 644 usr/lib/systemd/system
|
|
vinstall dbus/dnsmasq.conf 644 etc/dbus-1/system.d
|
|
}
|