void-packages/srcpkgs/dnsmasq/template

36 lines
1.4 KiB
Plaintext
Raw Normal View History

# Template file for 'dnsmasq'
pkgname=dnsmasq
2013-11-03 07:20:30 +01:00
version=2.67
2012-12-05 15:57:35 +01:00
revision=1
2013-11-03 07:20:30 +01: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 23:00:38 +02:00
homepage="http://www.thekelleys.org.uk/dnsmasq/doc.html"
distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz"
2013-11-03 07:20:30 +01:00
checksum=92ec4c7b6124355b4df499684af24061d044a7fbc9d9c10faf26313964b16b4a
long_desc="
Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server.
It is designed to provide DNS and, optionally, DHCP, to a small network. It
can serve the names of local machines which are not in the global DNS.
The DHCP server integrates with the DNS server and allows machines with
DHCP-allocated addresses to appear in the DNS with names configured either in
each host or in a central configuration file. Dnsmasq supports static and
dynamic DHCP leases and BOOTP/TFTP/PXE for network booting of diskless machines."
do_build() {
echo '#define HAVE_DBUS' >> src/config.h
make ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall dnsmasq.conf.example 644 etc dnsmasq.conf
2012-07-09 23:00:38 +02:00
vinstall ${FILESDIR}/dnsmasq.service 644 usr/lib/systemd/system
vinstall dbus/dnsmasq.conf 644 etc/dbus-1/system.d
}