1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools eutils gnome2-utils toolchain-funcs
7 DESCRIPTION="A Free Telnet/SSH Client"
8 HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
12 KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
13 IUSE="doc +gtk ipv6 kerberos"
15 https://dev.gentoo.org/~jer/${PN}-icons.tar.bz2
16 http://the.earth.li/~sgtatham/${PN}/latest/${P}.tar.gz
28 kerberos? ( virtual/krb5 )
40 -e '/AM_PATH_GTK(/d' \
50 $(use_with kerberos gssapi) \
56 emake AR=$(tc-getAR) $(usex ipv6 '' COMPAT=-DNO_IPV6)
60 dodoc doc/puttydoc.txt
71 for i in 16 22 24 32 48 64 128 256; do
72 newicon -s ${i} "${WORKDIR}"/${PN}-icons/${PN}-${i}.png ${PN}.png
75 # install desktop file provided by Gustav Schaffter in #49577
76 make_desktop_entry ${PN} PuTTY ${PN} Network
81 use gtk && gnome2_icon_savelist
85 use gtk && gnome2_icon_cache_update
89 use gtk && gnome2_icon_cache_update