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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Aug 23 14:43:37 2012 UTC (22 months, 2 weeks ago) by jer
Branch: MAIN
Snapshot version bump.

(Portage version: 2.2.0_alpha122/cvs/Linux x86_64)

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 versionator
8
9 MY_PV="$(get_version_component_range 1-2)-2012-08-23"
10 DESCRIPTION="UNIX port of the famous Telnet and SSH client"
11 HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
12 SRC_URI="http://tartarus.org/~simon/${PN}-snapshots/${PN}-${MY_PV}.tar.gz"
13 LICENSE="MIT"
14
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
17 IUSE="doc ipv6 kerberos"
18
19 RDEPEND="
20 !net-misc/pssh
21 dev-libs/glib
22 kerberos? ( virtual/krb5 )
23 x11-libs/gdk-pixbuf
24 x11-libs/gtk+:2
25 x11-libs/libX11
26 x11-libs/pango
27 "
28 DEPEND="
29 ${RDEPEND}
30 dev-lang/perl
31 virtual/pkgconfig
32 "
33
34 S=${WORKDIR}/${PN}-${MY_PV}
35
36 src_prepare() {
37 cd "${S}"/unix || die "cd unix failed"
38 sed \
39 -i configure.ac \
40 -e '/^AM_PATH_GTK(/d' \
41 -e 's|-Wall -Werror||g' || die "sed failed"
42 eautoreconf
43 }
44
45 src_configure() {
46 cd "${S}"/unix || die "cd failed"
47 econf $(use_with kerberos gssapi)
48 }
49
50 src_compile() {
51 cd "${S}"/unix || die "cd unix failed"
52 emake $(use ipv6 || echo COMPAT=-DNO_IPV6)
53 }
54
55 src_install() {
56 if use doc; then
57 dodoc doc/puttydoc.txt
58 dohtml doc/*.html
59 fi
60
61 cd "${S}"/unix
62 default
63
64 # install desktop file provided by Gustav Schaffter in #49577
65 doicon "${FILESDIR}"/${PN}.xpm
66 make_desktop_entry putty PuTTY putty Network
67 }

  ViewVC Help
Powered by ViewVC 1.1.20