wok-current annotate gtk-vnc/receipt @ rev 25268

xorg-cf-files/Imake.tmpl: update ArCmd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 17 14:59:20 2022 +0000 (2022-07-17)
parents 155bbded77cd
children
rev   line source
pankso@4420 1 # SliTaz package receipt.
pankso@4420 2
pankso@4420 3 PACKAGE="gtk-vnc"
pascal@18221 4 VERSION="0.5.4"
pankso@4420 5 CATEGORY="x-window"
pankso@4420 6 SHORT_DESC="VNC viewer widget for GTK."
pankso@4420 7 MAINTAINER="pankso@slitaz.org"
pascal@14850 8 LICENSE="LGPL2.1"
pankso@4420 9 SUGGESTED="gtk-vnc-python"
pascal@18221 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@18221 11 WEB_SITE="https://wiki.gnome.org/Projects/gtk-vnc"
slaxemulator@9001 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@13034 13 TAGS="vnc remote-desktop"
pankso@4420 14
pascal@18221 15 DEPENDS="gnutls libgpg-error gtk+ pygtk cyrus-sasl libtasn1 \
pascal@18221 16 pulseaudio util-linux-uuid libjson-c libsndfile flac libvorbis"
pascal@14850 17 BUILD_DEPENDS="gnutls-dev libgpg-error-dev gtk+-dev cyrus-sasl cyrus-sasl-dev \
pascal@14850 18 intltool pkg-config pygtk-dev pygobject-dev libffi-dev python-dev \
pascal@18221 19 libgcrypt-dev zlib-dev expat-dev libtasn1-dev perl-text-csv libffi expat \
pascal@18221 20 pulseaudio-dev util-linux-uuid-dev libjson-c-dev libsndfile-dev flac-dev \
pascal@20587 21 libvorbis-dev dbus-dev libgnutls"
pascal@14850 22
pascal@24111 23 current_version()
pascal@24111 24 {
pascal@24111 25 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 26 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 27 }
pascal@24111 28
pankso@4420 29 # Rules to configure and make the package.
pankso@4420 30 compile_rules()
pankso@4420 31 {
gokhlayeh@11573 32 ./configure $CONFIGURE_ARGS &&
slaxemulator@9001 33 make -j1 &&
slaxemulator@9001 34 make -j1 install
pankso@4420 35 }
pankso@4420 36
pankso@4420 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4420 38 genpkg_rules()
pankso@4420 39 {
pankso@4420 40 mkdir -p $fs/usr/lib
pascal@14850 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@4420 42 }