wok-next view 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 |
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="gtk2-dev gtk3-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 gtk2 pango xorg-libX11 krb5"
38 CAT="utilities|using GTK+2"
39 ;;
40 putty-gtk3)
41 copy @std
42 DEPENDS="cairo gdk-pixbuf glib gtk3 pango xorg-libX11 krb5"
43 CAT="utilities|using GTK+3"
44 ;;
45 esac
46 TAGS="ssh"
47 }