void-packages/srcpkgs/dnsmasq/template

28 lines
860 B
Text
Raw Normal View History

# Template file for 'dnsmasq'
pkgname=dnsmasq
2014-05-21 19:52:20 +00:00
version=2.71
2014-04-09 22:08:16 +00:00
revision=1
2013-11-03 06:20:30 +00:00
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"
2012-07-09 21:00:38 +00:00
homepage="http://www.thekelleys.org.uk/dnsmasq/doc.html"
distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz"
2014-05-21 19:52:20 +00:00
checksum=7d8c64f66a396442e01b639df3ea6b4e02ba88cbe206c80be8de68b6841634c4
do_build() {
echo '#define HAVE_DBUS' >> src/config.h
2014-02-18 15:47:07 +00:00
make CC=$CC ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall dnsmasq.conf.example 644 etc dnsmasq.conf
2012-07-09 21:00:38 +00:00
vinstall ${FILESDIR}/dnsmasq.service 644 usr/lib/systemd/system
vinstall dbus/dnsmasq.conf 644 etc/dbus-1/system.d
}