summaryrefslogtreecommitdiffstats
path: root/extra/avahi/Pkgfile
blob: 8a62e39a04561a00437ac7d1eee31e183bae3e2c (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
46
# 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, nss-mdns, libglade, libcap, pygtk


name=avahi
version=0.6.25
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

}