wok-next view putty/receipt @ rev 21382

updated nbd (3.3 -> 3.20)
author Hans-G?nter Theisgen
date Thu Apr 16 17:27:00 2020 +0100 (2020-04-16)
parents 5669e8b3be70
children a1d65fd8c89a
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="devel@slitaz.org"
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="gtk2-dev gtk3-dev krb5-dev"
15 SPLIT="$PACKAGE-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="libcairo gdk-pixbuf glib gtk2 pango libx11 krb5"
38 CAT="utilities|using GTK+2"
39 ;;
40 putty-gtk3)
41 copy @std
42 DEPENDS="libcairo gdk-pixbuf glib gtk3 pango libx11 krb5"
43 CAT="utilities|using GTK+3"
44 ;;
45 esac
46 TAGS="ssh"
47 }