2009-12-08 10:51:53 +01:00
|
|
|
# Template file for 'avahi'
|
|
|
|
pkgname=avahi
|
2011-04-11 21:00:42 +02:00
|
|
|
version=0.6.30
|
2011-11-12 09:45:15 +01:00
|
|
|
revision=5
|
2011-11-10 12:57:15 +01:00
|
|
|
homepage="http://www.avahi.org"
|
|
|
|
distfiles="$homepage/download/avahi-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-07-04 10:06:51 +02:00
|
|
|
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=netdev --with-autoipd-user=avahi
|
|
|
|
--with-autoipd-group=avahi --with-distro=gentoo --disable-xmltoman
|
2011-10-16 19:46:38 +02:00
|
|
|
--disable-dbm
|
2011-07-14 01:55:48 +02:00
|
|
|
--with-systemdsystemunitdir=/lib/systemd/system"
|
2009-12-08 10:51:53 +01:00
|
|
|
short_desc="Multicast DNS Service Discovery"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-10 12:57:15 +01:00
|
|
|
license="LGPL-2.1"
|
2011-04-11 21:00:42 +02:00
|
|
|
checksum=f9e4316c2339d0020726edd846d01bee0c39980906db0c247479e5807457ff1f
|
2009-12-08 10:51:53 +01:00
|
|
|
long_desc="
|
|
|
|
Avahi is a fully LGPL framework for Multicast DNS Service Discovery.
|
|
|
|
It allows programs to publish and discover services and hosts running on a
|
|
|
|
local network with no specific configuration. For example you can plug into
|
|
|
|
a network and instantly find printers to print to, files to look at and
|
|
|
|
people to talk to."
|
|
|
|
|
2009-12-11 12:05:56 +01:00
|
|
|
# Create avahi and netdev system accounts.
|
|
|
|
system_accounts="avahi netdev"
|
2011-11-10 12:57:15 +01:00
|
|
|
systemd_services="avahi-daemon.service on avahi-dnsconfd.service on"
|
2009-12-08 10:51:53 +01:00
|
|
|
conf_files="/etc/avahi/avahi-daemon.conf /etc/avahi/hosts.conf"
|
|
|
|
|
|
|
|
subpackages="$pkgname-autoipd $pkgname-discover $pkgname-compat-libs"
|
|
|
|
subpackages="$subpackages $pkgname-compat-libs-devel $pkgname-libs"
|
|
|
|
subpackages="$subpackages $pkgname-libs-devel $pkgname-glib-libs"
|
|
|
|
subpackages="$subpackages $pkgname-glib-libs-devel $pkgname-ui-libs"
|
2011-03-01 00:53:22 +01:00
|
|
|
subpackages="$subpackages $pkgname-ui-libs-gtk3"
|
2009-12-08 10:51:53 +01:00
|
|
|
subpackages="$subpackages $pkgname-ui-libs-devel $pkgname-utils"
|
|
|
|
subpackages="$subpackages $pkgname-ui-utils $pkgname-python-utils"
|
2011-03-02 20:36:07 +01:00
|
|
|
subpackages="$subpackages $pkgname-python"
|
2009-12-08 10:51:53 +01:00
|
|
|
|
|
|
|
Add_dependency run dbus
|
2011-04-11 21:00:42 +02:00
|
|
|
|
2010-01-14 16:27:17 +01:00
|
|
|
Add_dependency build pkg-config
|
2011-07-02 15:52:28 +02:00
|
|
|
Add_dependency build intltool
|
2010-01-11 20:41:03 +01:00
|
|
|
Add_dependency build libssp-devel
|
2009-12-08 10:51:53 +01:00
|
|
|
Add_dependency build dbus-devel
|
|
|
|
Add_dependency build libcap-devel
|
|
|
|
Add_dependency build libdaemon-devel
|
|
|
|
Add_dependency build gdbm-devel
|
|
|
|
Add_dependency build expat-devel
|
2011-07-04 11:10:01 +02:00
|
|
|
Add_dependency build pygtk-devel
|
2009-12-08 10:51:53 +01:00
|
|
|
Add_dependency build dbus-python
|
2011-07-02 15:52:28 +02:00
|
|
|
Add_dependency build gtk+3-devel
|
2011-07-03 18:58:57 +02:00
|
|
|
Add_dependency build gobject-introspection
|
2011-10-11 04:48:37 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
rm -rf ${DESTDIR}/etc/init.d
|
|
|
|
}
|