blob: 575a9b80886e03779630d1f1c92d954946d76550 (
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: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: avahi dbus-32 gdbm-32 glib-32 libcap-32 libdaemon-32 libevent-32
5
6 name=avahi-32
7 version=0.8
8 release=3
9 source=(https://github.com/lathiat/avahi/releases/download/v$version/avahi-$version.tar.gz
10 avahi-0.8-ipv6_race_condition_fix-1.patch
11 reverse-move-to-run.patch)
12
13 build() {
14 cd avahi-$version
15
16 patch -p1 -i $SRC/reverse-move-to-run.patch
17 patch -p1 -i $SRC/avahi-0.8-ipv6_race_condition_fix-1.patch
18
19 NOCONFIGURE=1 ./autogen.sh
20
21 ./configure --prefix=/usr \
22 --libdir=/usr/lib32 \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --with-distro=none \
26 --disable-gtk \
27 --disable-gtk3 \
28 --disable-qt3 \
29 --disable-qt4 \
30 --disable-qt5 \
31 --disable-python \
32 --disable-pygobject \
33 --disable-python-dbus \
34 --disable-mono \
35 --disable-monodoc \
36 --disable-nls \
37 --enable-compat-libdns_sd
38
39 make
40 make DESTDIR=$PKG install
41
42 rm -r $PKG/usr/{bin,sbin,include,share} $PKG/{etc,var}
43 }
|