wok-next view putty/receipt @ rev 20891

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