/[gentoo-x86]/net-misc/putty/putty-0.62.ebuild
Gentoo

Contents of /net-misc/putty/putty-0.62.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Aug 8 15:27:20 2013 UTC (11 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Old.

(Portage version: 2.2.0_alpha195/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/putty/putty-0.62.ebuild,v 1.6 2012/05/21 20:01:14 ssuominen Exp $
4
5 EAPI="4"
6
7 inherit autotools eutils toolchain-funcs
8
9 DESCRIPTION="UNIX port of the famous Telnet and SSH client"
10 HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
11 SRC_URI="http://the.earth.li/~sgtatham/${PN}/latest/${P}.tar.gz"
12 LICENSE="MIT"
13
14 SLOT="0"
15 KEYWORDS="alpha amd64 ppc sparc x86"
16 IUSE="doc ipv6 kerberos"
17
18 RDEPEND="
19 !net-misc/pssh
20 dev-libs/glib
21 kerberos? ( virtual/krb5 )
22 x11-libs/gdk-pixbuf
23 x11-libs/gtk+:2
24 x11-libs/libX11
25 x11-libs/pango
26 "
27 DEPEND="
28 ${RDEPEND}
29 dev-lang/perl
30 virtual/pkgconfig
31 "
32
33 src_prepare() {
34 cd "${S}"/unix || die "cd unix failed"
35 sed \
36 -i configure.ac \
37 -e '/^AM_PATH_GTK(/d' \
38 -e 's|-Wall -Werror||g' || die "sed failed"
39 eautoreconf
40 }
41
42 src_configure() {
43 cd "${S}"/unix || die "cd failed"
44 econf $(use_with kerberos gssapi)
45 }
46
47 src_compile() {
48 cd "${S}"/unix || die "cd unix failed"
49 emake $(use ipv6 || echo COMPAT=-DNO_IPV6)
50 }
51
52 src_install() {
53 if use doc; then
54 dodoc doc/puttydoc.txt
55 dohtml doc/*.html
56 fi
57
58 cd "${S}"/unix
59 default
60
61 # install desktop file provided by Gustav Schaffter in #49577
62 doicon "${FILESDIR}"/${PN}.xpm
63 make_desktop_entry putty PuTTY putty Network
64 }

  ViewVC Help
Powered by ViewVC 1.1.20