/[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.2 - (hide annotations) (download)
Mon Dec 12 16:32:05 2011 UTC (7 years, 10 months ago) by ago
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable for AMD64, wrt security bug #394429

(Portage version: 2.1.10.39/cvs/Linux i686)

1 jer 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/putty/putty-0.62.ebuild,v 1.1 2011/12/12 11:20:27 jer Exp $
4 jer 1.1
5     EAPI="4"
6    
7     inherit autotools 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 ago 1.2 KEYWORDS="~alpha amd64 ~ppc ~sparc ~x86"
16 jer 1.1 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     dev-util/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