wok-next annotate gtk-vnc/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
rev   line source
pascal@20183 1 # SliTaz package receipt v2.
pankso@4420 2
pankso@4420 3 PACKAGE="gtk-vnc"
pascal@18221 4 VERSION="0.5.4"
pankso@4420 5 CATEGORY="x-window"
al@20550 6 SHORT_DESC="VNC viewer widget for GTK"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14850 8 LICENSE="LGPL2.1"
al@20550 9 WEB_SITE="https://wiki.gnome.org/Projects/gtk-vnc"
al@20550 10
pascal@18221 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
slaxemulator@9001 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@4420 13
al@21017 14 BUILD_DEPENDS="gnutls-dev libgpg-error-dev gtk2-dev cyrus-sasl cyrus-sasl-dev \
al@20932 15 intltool python-pygtk-dev python-pygobject2-dev libffi-dev python-dev \
pascal@18221 16 libgcrypt-dev zlib-dev expat-dev libtasn1-dev perl-text-csv libffi expat \
al@20987 17 pulseaudio-dev util-linux-uuid-dev json-c-dev libsndfile-dev flac-dev \
pascal@18221 18 libvorbis-dev dbus-dev"
al@21017 19 SPLIT="$PACKAGE-dev $PACKAGE-python"
pascal@14850 20
al@20550 21 compile_rules() {
gokhlayeh@11573 22 ./configure $CONFIGURE_ARGS &&
slaxemulator@9001 23 make -j1 &&
slaxemulator@9001 24 make -j1 install
pankso@4420 25 }
pankso@4420 26
al@20550 27 genpkg_rules() {
pascal@20183 28 case $PACKAGE in
al@21017 29 *-python)
al@20550 30 copy python2.7/
al@20550 31 CAT="development|Python bindings"
al@20550 32 DEPENDS="gtk-vnc python"
al@20550 33 ;;
al@20550 34 gtk-vnc)
al@20550 35 copy @std @rm
al@20550 36 SUGGESTED="gtk-vnc-python"
al@21017 37 DEPENDS="gnutls libgpg-error gtk2 python-pygtk cyrus-sasl libtasn1 \
al@20987 38 pulseaudio util-linux-uuid json-c libsndfile flac \
pascal@20183 39 libvorbis"
al@20550 40 TAGS="vnc remote-desktop"
al@20550 41 ;;
al@20550 42 *-dev)
al@20550 43 copy @dev
al@20550 44 ;;
pascal@20183 45 esac
pankso@4420 46 }