2009-12-04 06:05:13 +00:00
|
|
|
# Template file for 'dnsmasq'
|
|
|
|
pkgname=dnsmasq
|
2013-11-03 06:20:30 +00:00
|
|
|
version=2.67
|
2014-02-18 15:47:07 +00:00
|
|
|
revision=2
|
2013-11-03 06:20:30 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="dbus-devel libcap-devel libidn-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/dnsmasq.conf"
|
|
|
|
system_accounts="dnsmasq"
|
2009-12-04 06:05:13 +00:00
|
|
|
short_desc="Lightweight, easy to configure DNS forwarder and DHCP server"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-08 16:50:02 +00:00
|
|
|
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"
|
2013-11-03 06:20:30 +00:00
|
|
|
checksum=92ec4c7b6124355b4df499684af24061d044a7fbc9d9c10faf26313964b16b4a
|
2009-12-04 06:05:13 +00:00
|
|
|
|
2012-05-27 18:04:01 +00:00
|
|
|
do_build() {
|
2011-10-08 16:50:02 +00:00
|
|
|
echo '#define HAVE_DBUS' >> src/config.h
|
2014-02-18 15:47:07 +00:00
|
|
|
make CC=$CC ${makejobs}
|
2011-10-08 16:50:02 +00:00
|
|
|
}
|
|
|
|
|
2012-05-27 18:04:01 +00:00
|
|
|
do_install() {
|
2011-10-08 16:50:02 +00:00
|
|
|
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
|
2011-10-08 16:50:02 +00:00
|
|
|
vinstall dbus/dnsmasq.conf 644 etc/dbus-1/system.d
|
2009-12-04 06:05:13 +00:00
|
|
|
}
|