contrib/avahi/Pkgfile

29 lines
918 B
Plaintext
Raw Normal View History

2019-06-11 23:45:44 +02:00
# Description: A system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite
# URL: http://www.avahi.org/
2019-06-17 00:47:02 +02:00
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: dbus gobject-introspection intltool libdaemon libevent
2019-06-11 23:45:44 +02:00
name=avahi
version=0.8
release=1
2019-06-11 23:45:44 +02:00
source=(http://avahi.org/download/$name-$version.tar.gz \
2019-06-21 09:30:25 +02:00
avahi-daemon.rc reverse-move-to-run.patch)
2019-06-11 23:45:44 +02:00
build() {
cd $name-$version
2019-06-21 09:30:25 +02:00
patch -Np1 -i ../reverse-move-to-run.patch
NOCONFIGURE=1 ./autogen.sh
2019-06-11 23:45:44 +02:00
./configure --prefix=/usr \
2019-06-17 00:47:02 +02:00
--sysconfdir=/etc \
2019-06-21 09:30:25 +02:00
--localstatedir=/var \
2019-06-11 23:45:44 +02:00
--with-distro=none \
--disable-{gtk,gtk3,qt3,qt4,qt5,python} \
--disable-{pygobject,python-dbus,mono,mono-doc,nls} \
2019-06-11 23:45:44 +02:00
--enable-compat-libdns_sd
make
make DESTDIR=$PKG install
ln -s avahi-compat-libdns_sd/dns_sd.h $PKG/usr/include/dns_sd.h
install -D -m 0755 $SRC/avahi-daemon.rc $PKG/etc/rc.d/avahi-daemon
}