summaryrefslogtreecommitdiffstats
path: root/extra/avahi/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:22:46 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:22:46 +0200
commitbfd18f263823e59402ba094487742eb9d31dc666 (patch)
tree602fef65de9e1b11882462b62a94a160611f666d /extra/avahi/Pkgfile
parent718debc0b61dedd3a23802515d43cc25bd8f177c (diff)
downloadnutyx-pakxe-bfd18f263823e59402ba094487742eb9d31dc666.tar.gz
nutyx-pakxe-bfd18f263823e59402ba094487742eb9d31dc666.tar.bz2
nutyx-pakxe-bfd18f263823e59402ba094487742eb9d31dc666.tar.xz
nutyx-pakxe-bfd18f263823e59402ba094487742eb9d31dc666.zip
Ajout de avahi#0.6.24-1
Diffstat (limited to 'extra/avahi/Pkgfile')
-rw-r--r--extra/avahi/Pkgfile45
1 files changed, 45 insertions, 0 deletions
diff --git a/extra/avahi/Pkgfile b/extra/avahi/Pkgfile
new file mode 100644
index 000000000..56ec279d3
--- /dev/null
+++ b/extra/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: libdaemon, dbus, dbus-python, pygtk, nss-mdns, libglade, libcap
+
+name=avahi
+version=0.6.24
+release=1
+source=(http://www.avahi.org/download/avahi-$version.tar.gz\
+ avahid network-wired.png)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-monodoc \
+ --disable-doxygen-doc \
+ --disable-xmltoman \
+ --enable-compat-libdns_sd \
+ --enable-compat-howl \
+ --with-distro=none \
+ --disable-gdbm \
+ --disable-mono \
+ --enable-autoipd
+ make
+ make DESTDIR=$PKG install
+ mkdir -v -p $PKG/etc/rc.d/init.d
+ mkdir -v -p $PKG/etc/rc.d/rc{0,1,3,4,5,6}.d
+ mkdir -v -p $PKG/usr/share/pixmaps
+ install -m 644 ../network-wired.png \
+ $PKG/usr/share/pixmaps/network-wired.png
+ install -D -m755 ../avahid $PKG/etc/rc.d/init.d/avahid
+
+ ln -svf ../init.d/avahid $PKG/etc/rc.d/rc3.d/S43avahid
+ ln -svf ../init.d/avahid $PKG/etc/rc.d/rc5.d/S43avahid
+ ln -svf ../init.d/avahid $PKG/etc/rc.d/rc4.d/S43avahid
+ ln -svf ../init.d/avahid $PKG/etc/rc.d/rc0.d/K13avahid
+ ln -svf ../init.d/avahid $PKG/etc/rc.d/rc1.d/K13avahid
+ ln -svf ../init.d/avahid $PKG/etc/rc.d/rc6.d/K13avahid
+
+}