blob: 036e8ee656922c21f5b6f22d92ece0c74d8c1868 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Description: Service de DNS
# URL: http://www.avahi.org/
# Maintainer: NuTyX core team
# Packager: piernov <piernov@piernov.org>
# Depends on: avahi, mono
# Run on: avahi,mono
name=avahi-sharp
version=0.6.31
release=1
source=(http://www.avahi.org/download/avahi-$version.tar.gz)
build() {
cd avahi-$version
PYTHON=python2 ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--disable-gtk3 \
--disable-gtk \
--disable-qt3 \
--disable-qt4 \
--disable-monodoc \
--disable-doxygen-doc \
--disable-xmltoman \
--enable-mono \
--enable-compat-libdns_sd \
--enable-compat-howl \
--with-distro=lfs \
--with-avahi-priv-access-group=network \
--with-autoipd-user=avahi \
--with-autoipd-group=avahi \
--with-systemdsystemunitdir=/lib/systemd/system
for i in avahi-common avahi-client avahi-glib; do
make -C $i
done
make -C avahi-sharp
make DESTDIR=$PKG install -C avahi-sharp
make DESTDIR=$PKG install-pkgconfigDATA
rm $PKG/usr/lib/pkgconfig/avahi-{core,client,compat-howl,compat-libdns_sd,glib,gobject}.pc
}
|