/[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.5 - (hide annotations) (download)
Sat May 5 03:20:42 2012 UTC (7 years, 5 months ago) by jdhore
Branch: MAIN
Changes since 1.4: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 armin76 1.3 # Copyright 1999-2012 Gentoo Foundation
2 jer 1.1 # Distributed under the terms of the GNU General Public License v2
3 jdhore 1.5 # $Header: /var/cvsroot/gentoo-x86/net-misc/putty/putty-0.62.ebuild,v 1.4 2012/02/01 17:08:27 ranger 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 ranger 1.4 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 jdhore 1.5 virtual/pkgconfig
31 jer 1.1 "
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