diff options
Diffstat (limited to 'avahi-qt4/Pkgfile')
-rw-r--r-- | avahi-qt4/Pkgfile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/avahi-qt4/Pkgfile b/avahi-qt4/Pkgfile new file mode 100644 index 000000000..25b83985e --- /dev/null +++ b/avahi-qt4/Pkgfile @@ -0,0 +1,46 @@ +# Description: Bibliothèque QT4 pour Avahi +# URL: http://www.avahi.org/ +# Maintainer: NuTyX core team +# Packager: piernov <piernov@piernov.org> +# Depends on: avahi, qt +# Run on: avahi,qt + +name=avahi-qt4 +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 \ + --disable-gtk3 \ + --disable-gtk \ + --disable-pygtk \ + --disable-qt3 \ + --enable-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 + + make -C avahi-common + + make -C avahi-qt + make DESTDIR=$PKG install -C avahi-qt + + make DESTDIR=$PKG install-pkgconfigDATA + mkdir -p $PKG/usr/lib/pkgconfig + cp avahi-qt4.pc $PKG/usr/lib/pkgconfig + rm $PKG/usr/lib/pkgconfig/avahi-{core,client,compat-howl,compat-libdns_sd,glib,gobject}.pc +} |