diff options
author | piernov <piernov@piernov.org> | 2011-09-28 21:07:35 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2011-09-28 21:07:35 +0200 |
commit | 99772e037be88caf5188c898d5e846cd1c971c40 (patch) | |
tree | 8dee8d9c38f0cac7f5dfef4fec42bd1eb05aef29 /extra/avahi-gtk/Pkgfile | |
parent | 8c136c8b29c7d530ee21408d15ca8f64e72feb7b (diff) | |
download | nutyx-pakxe-99772e037be88caf5188c898d5e846cd1c971c40.tar.gz nutyx-pakxe-99772e037be88caf5188c898d5e846cd1c971c40.tar.bz2 nutyx-pakxe-99772e037be88caf5188c898d5e846cd1c971c40.tar.xz nutyx-pakxe-99772e037be88caf5188c898d5e846cd1c971c40.zip |
avahi-gtk 0.6.30-1 ajout port
Diffstat (limited to 'extra/avahi-gtk/Pkgfile')
-rw-r--r-- | extra/avahi-gtk/Pkgfile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/extra/avahi-gtk/Pkgfile b/extra/avahi-gtk/Pkgfile new file mode 100644 index 000000000..800e151ca --- /dev/null +++ b/extra/avahi-gtk/Pkgfile @@ -0,0 +1,48 @@ +# 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=1 +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 + + sed -i '1c #!/usr/bin/python2' $PKG/usr/bin/avahi-discover +} |