summaryrefslogtreecommitdiffstats
path: root/avahi-gtk/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2012-05-12 13:04:29 +0200
committertnut <thierryn1 at hispeed dot ch>2012-05-12 13:04:29 +0200
commit696179eb6375c244f061e30f704c831e7857b1c0 (patch)
tree7c5583bcb27c9fd389f128895f04929ba3ccdb90 /avahi-gtk/Pkgfile
parentf00053799f618da5fffe30bdcd4cc68be1412609 (diff)
downloadnutyx-pakxe-696179eb6375c244f061e30f704c831e7857b1c0.tar.gz
nutyx-pakxe-696179eb6375c244f061e30f704c831e7857b1c0.tar.bz2
nutyx-pakxe-696179eb6375c244f061e30f704c831e7857b1c0.tar.xz
nutyx-pakxe-696179eb6375c244f061e30f704c831e7857b1c0.zip
avahi-gtk, ajout
Diffstat (limited to 'avahi-gtk/Pkgfile')
-rw-r--r--avahi-gtk/Pkgfile54
1 files changed, 54 insertions, 0 deletions
diff --git a/avahi-gtk/Pkgfile b/avahi-gtk/Pkgfile
new file mode 100644
index 000000000..0aff4b382
--- /dev/null
+++ b/avahi-gtk/Pkgfile
@@ -0,0 +1,54 @@
+# Description: Service de DNS
+# URL: http://www.avahi.org/
+# Maintainer: NuTyX core team
+# Packager: piernov <piernov@piernov.org>
+# Depends on: avahi, gtk3, pygtk
+# Run on: avahi,gtk3,pygtk
+
+name=avahi-gtk
+version=0.6.30
+release=2
+source=(http://www.avahi.org/download/avahi-$version.tar.gz)
+
+build() {
+ cd avahi-$version
+
+ PYTHON=python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --enable-gtk3 \
+ --enable-gtk \
+ --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
+
+ mkdir -p $PKG/usr/{bin,include,lib}
+
+ for i in avahi-common avahi-client avahi-glib avahi-core; do
+ make -C $i
+ done
+
+ for i in avahi-ui avahi-python/avahi-discover avahi-discover-standalone; do
+ make -C $i
+ make DESTDIR=$PKG install -C $i
+ done
+
+ make DESTDIR=$PKG install-pkgconfigDATA
+ mkdir -p $PKG/usr/lib/pkgconfig
+ cp avahi-ui.pc $PKG/usr/lib/pkgconfig
+ cp avahi-ui-gtk3.pc $PKG/usr/lib/pkgconfig/
+ rm $PKG/usr/lib/pkgconfig/avahi-{core,client,compat-howl,compat-libdns_sd,glib,gobject}.pc
+
+ sed -i '1c #!/usr/bin/python2' $PKG/usr/bin/avahi-discover
+}