wok-next view putty/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d5aab818505e |
children | 82b613cfd1e0 |
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 libx11 krb5"
38 CAT="utilities|using GTK+2"
39 ;;
40 putty-gtk3)
41 copy @std
42 DEPENDS="cairo gdk-pixbuf glib gtk3 pango libx11 krb5"
43 CAT="utilities|using GTK+3"
44 ;;
45 esac
46 TAGS="ssh"
47 }