wok-next view putty/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
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="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 }