summaryrefslogtreecommitdiffstats
path: root/avahi-sharp/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-sharp/Pkgfile')
-rw-r--r--avahi-sharp/Pkgfile45
1 files changed, 45 insertions, 0 deletions
diff --git a/avahi-sharp/Pkgfile b/avahi-sharp/Pkgfile
new file mode 100644
index 0000000..3cdba12
--- /dev/null
+++ b/avahi-sharp/Pkgfile
@@ -0,0 +1,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.30
+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
+}