summaryrefslogtreecommitdiffstats
path: root/avahi/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-04-30 16:52:35 +0200
committerpiernov <piernov@piernov.org>2012-04-30 16:52:35 +0200
commit288cac3cc004a8db5c72cbf3bba4a89d4312f9a5 (patch)
treefb247760c4ebf85db7eb1aa269961a8010f9c5f4 /avahi/Pkgfile
parenteed2883089d081daa599dff1dad1b97ad2f47fde (diff)
downloadnutyx-extra-288cac3cc004a8db5c72cbf3bba4a89d4312f9a5.tar.gz
nutyx-extra-288cac3cc004a8db5c72cbf3bba4a89d4312f9a5.tar.bz2
nutyx-extra-288cac3cc004a8db5c72cbf3bba4a89d4312f9a5.tar.xz
nutyx-extra-288cac3cc004a8db5c72cbf3bba4a89d4312f9a5.zip
Revert "avahi dans base"
This reverts commit 2da6170d865a0add71b5fb8344233e17ceb74e7c.
Diffstat (limited to 'avahi/Pkgfile')
-rw-r--r--avahi/Pkgfile45
1 files changed, 45 insertions, 0 deletions
diff --git a/avahi/Pkgfile b/avahi/Pkgfile
new file mode 100644
index 000000000..2a8479b80
--- /dev/null
+++ b/avahi/Pkgfile
@@ -0,0 +1,45 @@
+# Description: Service de DNS
+# URL: http://www.avahi.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: intltool, libdaemon, dbus, dbus-python, gobject-introspection
+# Run on: libdaemon,dbus,dbus-python,libglade
+
+name=avahi
+version=0.6.30
+release=2
+source=(http://www.avahi.org/download/avahi-$version.tar.gz
+ network-wired.png)
+
+build() {
+ cd $name-$version
+
+ PYTHON=python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --disable-gtk \
+ --disable-gtk3 \
+ --disable-pygtk \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-monodoc \
+ --disable-doxygen-doc \
+ --disable-xmltoman \
+ --disable-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
+ make
+ make DESTDIR=$PKG install
+
+ sed -i -e 's/netdev/network/g' $PKG/etc/dbus-1/system.d/avahi-dbus.conf
+ mkdir -v -p $PKG/usr/share/pixmaps
+ install -m 644 ../network-wired.png $PKG/usr/share/pixmaps/network-wired.png
+ rm -r $PKG/{etc/avahi,var,usr/share/man/man8,usr/sbin}
+ sed -i '1c #!/usr/bin/python2' $PKG/usr/bin/avahi-bookmarks
+}