summaryrefslogtreecommitdiff
path: root/avahi/Pkgfile
blob: 99b66e0f3da8f22e5473ada311c7573a6fbb0b51 (plain)
    1 # Description: A system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite
    2 # URL: https://www.avahi.org/
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: dbus gobject-introspection intltool libdaemon libevent
    5 
    6 name=avahi
    7 version=0.8
    8 release=4
    9 source=(https://github.com/lathiat/avahi/releases/download/v$version/$name-$version.tar.gz
   10   avahi-0.8-ipv6_race_condition_fix-1.patch
   11   0001-Fix-avahi-browse-Invalid-service-type.patch
   12   avahi-daemon.service)
   13 
   14 build() {
   15   cd $name-$version
   16   patch -Np1 -i $SRC/0001-Fix-avahi-browse-Invalid-service-type.patch
   17   #patch -Np1 -i $SRC/282.patch
   18   patch -Np1 -i $SRC/avahi-0.8-ipv6_race_condition_fix-1.patch
   19 
   20   NOCONFIGURE=1 ./autogen.sh
   21   ./configure --prefix=/usr \
   22     --sysconfdir=/etc \
   23     --localstatedir=/var \
   24     --runstatedir=/run \
   25     --with-distro=none \
   26     --with-autoipd-user=avahi \
   27     --with-autoipd-group=avahi \
   28     --with-avahi-priv-access-group=wheel \
   29     --enable-compat-libdns_sd \
   30     --disable-{gtk,gtk3,qt3,qt4,qt5,python,static} \
   31     --disable-{pygobject,python-dbus,mono,mono-doc,nls}
   32   make
   33   make DESTDIR=$PKG install
   34 
   35   ln -s avahi-compat-libdns_sd/dns_sd.h $PKG/usr/include/dns_sd.h
   36   install -D -m 0755 $SRC/avahi-daemon.service $PKG/etc/rc.d/avahi-daemon
   37 }

Generated by cgit