# SliTaz package receipt. PACKAGE="gtk-vnc" VERSION="0.5.4" CATEGORY="x-window" SHORT_DESC="VNC viewer widget for GTK." MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" SUGGESTED="gtk-vnc-python" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="https://wiki.gnome.org/Projects/gtk-vnc" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" TAGS="vnc remote-desktop" DEPENDS="gnutls libgpg-error gtk+ pygtk cyrus-sasl libtasn1 \ pulseaudio util-linux-uuid libjson-c libsndfile flac libvorbis" BUILD_DEPENDS="gnutls-dev libgpg-error-dev gtk+-dev cyrus-sasl cyrus-sasl-dev \ intltool pkg-config pygtk-dev pygobject-dev libffi-dev python-dev \ libgcrypt-dev zlib-dev expat-dev libtasn1-dev perl-text-csv libffi expat \ pulseaudio-dev util-linux-uuid-dev libjson-c-dev libsndfile-dev flac-dev \ libvorbis-dev dbus-dev libgnutls" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make -j1 && make -j1 install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }