wok-next annotate putty/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents ca6fe141ca35
children d5aab818505e
rev   line source
al@20674 1 # SliTaz package receipt v2.
rcx@4035 2
rcx@4035 3 PACKAGE="putty"
al@20674 4 VERSION="0.70"
rcx@4035 5 CATEGORY="utilities"
al@20674 6 SHORT_DESC="A free telnet/SSH client"
rcx@4035 7 MAINTAINER="rcx@zoominternet.net"
pascal@15376 8 LICENSE="MIT"
al@20674 9 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/putty/"
al@20674 10
slaxemulator@10337 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20674 12 WGET_URL="https://the.earth.li/~sgtatham/putty/latest/$TARBALL"
slaxemulator@10337 13
al@21017 14 BUILD_DEPENDS="gtk2-dev gtk3-dev krb5-dev"
al@20674 15 SPLIT="putty putty-gtk3:gtk3"
erjo@4784 16
al@20674 17 compile_rules() {
al@20674 18 case $SET in
al@20674 19 '') SET_ARGS='--with-gtk=2';;
al@20674 20 gtk3) SET_ARGS='--with-gtk=3';;
al@20674 21 esac
rcx@4035 22
al@20674 23 ./configure \
al@20674 24 $SET_ARGS \
al@20674 25 $CONFIGURE_ARGS &&
rcx@4035 26 make &&
al@20674 27 make install || return 1
rcx@4035 28
al@20674 29 install -Dm644 $stuff/putty.png $install/usr/share/pixmaps/putty.png
al@20674 30 install -Dm644 $stuff/pterm.png $install/usr/share/pixmaps/pterm.png
rcx@4035 31 }
rcx@4035 32
al@20674 33 genpkg_rules() {
al@20674 34 case $PACKAGE in
al@20674 35 putty)
al@20674 36 copy @std
al@21017 37 DEPENDS="cairo gdk-pixbuf glib gtk2 pango xorg-libX11 krb5"
al@20674 38 CAT="utilities|using GTK+2"
al@20674 39 ;;
al@20674 40 putty-gtk3)
al@20674 41 copy @std
al@21017 42 DEPENDS="cairo gdk-pixbuf glib gtk3 pango xorg-libX11 krb5"
al@20674 43 CAT="utilities|using GTK+3"
al@20674 44 ;;
al@20674 45 esac
al@20674 46 TAGS="ssh"
rcx@4035 47 }