wok-next view putty/receipt @ rev 21592
updated dkms (2.1.1.2 -> 2.8.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 07:35:54 2020 +0100 (2020-06-24) |
parents | 82b613cfd1e0 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="putty"
4 VERSION="0.73"
5 CATEGORY="utilities"
6 TAGS="ssh"
7 SHORT_DESC="A free telnet and SSH client"
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/putty/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://the.earth.li/~sgtatham/putty/latest/$TARBALL"
15 BUILD_DEPENDS="gtk2-dev gtk3-dev krb5-dev"
16 SPLIT="$PACKAGE-gtk3:gtk3"
18 compile_rules()
19 {
20 case $SET in
21 '') SET_ARGS='--with-gtk=2';;
22 gtk3) SET_ARGS='--with-gtk=3';;
23 esac
25 ./configure \
26 $SET_ARGS \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install || return 1
31 install -Dm644 $stuff/putty.png $install/usr/share/pixmaps/putty.png
32 install -Dm644 $stuff/pterm.png $install/usr/share/pixmaps/pterm.png
33 }
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 putty)
39 copy @std
40 DEPENDS="gdk-pixbuf glib gtk2 krb5 libcairo libx11 pango"
41 CAT="utilities|using GTK+2"
42 ;;
43 putty-gtk3)
44 copy @std
45 DEPENDS="gdk-pixbuf glib gtk3 krb5 libcairo libx11 pango"
46 CAT="utilities|using GTK+3"
47 ;;
48 esac
49 }