compat-32/avahi-32/Pkgfile

42 lines
981 B
Plaintext

# Description: A system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite
# URL: http://www.avahi.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: avahi dbus-32 gdbm-32 glib-32 libcap-32 libdaemon-32 libevent-32
name=avahi-32
version=0.8
release=1
source=(https://avahi.org/download/avahi-$version.tar.gz
reverse-move-to-run.patch)
build() {
cd avahi-$version
patch -p1 -i $SRC/reverse-move-to-run.patch
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--sysconfdir=/etc \
--localstatedir=/var \
--with-distro=none \
--disable-gtk \
--disable-gtk3 \
--disable-qt3 \
--disable-qt4 \
--disable-qt5 \
--disable-python \
--disable-pygobject \
--disable-python-dbus \
--disable-mono \
--disable-monodoc \
--disable-nls \
--enable-compat-libdns_sd
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{bin,sbin,include,share} $PKG/{etc,var}
}