summaryrefslogtreecommitdiffstats
path: root/extra/avahi-server/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-18 21:27:04 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-18 21:27:04 +0200
commite536fb3b219491833153a2ad4d4892cc5a962e2c (patch)
tree6e3918203e3c04d556956be2049e13ba491bdd4e /extra/avahi-server/Pkgfile
parentc589f2eca8bd0df629d2a1f8797e2025556a232f (diff)
downloadnutyx-extra-e536fb3b219491833153a2ad4d4892cc5a962e2c.tar.gz
nutyx-extra-e536fb3b219491833153a2ad4d4892cc5a962e2c.tar.bz2
nutyx-extra-e536fb3b219491833153a2ad4d4892cc5a962e2c.tar.xz
nutyx-extra-e536fb3b219491833153a2ad4d4892cc5a962e2c.zip
ajout avahi-server#0.6.25-1
Diffstat (limited to 'extra/avahi-server/Pkgfile')
-rw-r--r--extra/avahi-server/Pkgfile44
1 files changed, 44 insertions, 0 deletions
diff --git a/extra/avahi-server/Pkgfile b/extra/avahi-server/Pkgfile
new file mode 100644
index 000000000..26801a388
--- /dev/null
+++ b/extra/avahi-server/Pkgfile
@@ -0,0 +1,44 @@
+# Description: Service de DNS
+# URL: http://www.avahi.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: avahi
+
+
+name=avahi-server
+version=0.6.25
+release=1
+source=(http://www.avahi.org/download/avahi-$version.tar.gz\
+ avahid network-wired.png)
+
+build() {
+ cd avahi-$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
+ 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
+ rm -r $PKG/{etc/dbus-1,usr/{include,bin,lib,share/{avahi,locale,applications,man/man{1,5}}}}
+
+}