avahi: added systemd build option.

This commit is contained in:
Juan RP 2014-08-20 11:55:17 +02:00
parent 43f4e9b00b
commit dcdb7921a4

View file

@ -1,17 +1,16 @@
# Template file for 'avahi'
pkgname=avahi
version=0.6.31
revision=16
revision=17
build_style=gnu-configure
configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
--disable-doxygen-doc --enable-compat-libdns_sd --enable-compat-howl
--with-xml=expat --with-avahi-user=avahi --with-avahi-group=avahi
--with-avahi-priv-access-group=network --with-autoipd-user=avahi
--with-autoipd-group=avahi --with-distro=none --disable-xmltoman
--disable-dbm --with-systemdsystemunitdir=/usr/lib/systemd/system
--disable-static ssp_cv_lib=no --disable-python --disable-pygtk
--disable-glib --disable-gobject --disable-gtk --disable-gtk3
--disable-introspection"
--disable-dbm --disable-introspection"
short_desc="Multicast DNS Service Discovery"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
@ -22,7 +21,6 @@ checksum=8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48
hostmakedepends="pkg-config intltool"
makedepends="dbus-devel libcap-devel libdaemon-devel gdbm-devel"
depends="dbus"
systemd_services="avahi-daemon.service on"
conf_files="
/etc/avahi/services/ssh.service
/etc/avahi/services/sftp-ssh.service
@ -31,6 +29,12 @@ conf_files="
/etc/avahi/avahi-dnsconfd.action"
system_accounts="avahi:23"
build_options="systemd"
if [ "$build_option_systemd" ]; then
configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system"
systemd_services="avahi-daemon.service on"
fi
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libtool glib-devel"
pre_configure() {