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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Feb 21 08:43:26 2005 UTC (14 years, 9 months ago) by taviso
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
remove old ebuilds
(Portage version: 2.0.51.16)

1 # Copyright 1999-2005 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.56.ebuild,v 1.3 2005/02/21 08:39:08 taviso Exp $
4
5 inherit eutils
6
7 DESCRIPTION="UNIX port of the famous Telnet and SSH client"
8
9 HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
10 SRC_URI="http://the.earth.li/~sgtatham/putty/latest/${P}.tar.gz"
11 LICENSE="MIT"
12
13 SLOT="0"
14 KEYWORDS="x86 alpha ~ppc ~sparc ~amd64"
15 IUSE="doc"
16
17 RDEPEND="=x11-libs/gtk+-1.2* virtual/x11"
18
19 DEPEND="${RDEPEND} dev-lang/perl"
20
21 src_unpack() {
22 unpack ${A}
23
24 ebegin "Generating Makefiles"
25 cd ${S}; perl ${S}/mkfiles.pl || die
26 eend $?
27
28 ebegin "Setting CFLAGS"
29 sed -i "s!-O2!${CFLAGS}!g" ${S}/unix/Makefile.gtk
30 eend $?
31 }
32
33 src_compile() {
34 cd ${S}/unix; emake -f Makefile.gtk || die "make failed"
35 }
36
37 src_install() {
38 cd ${S}/doc
39
40 doman plink.1 pterm.1 putty.1 puttytel.1 puttygen.1
41
42 cd ${S}/unix
43
44 dobin plink pterm putty puttytel psftp pscp puttygen
45
46 cd ${S}
47
48 dodoc README README.txt LICENCE CHECKLST.txt LATEST.VER website.url MODULE
49 use doc && dodoc doc/*
50
51 prepallman
52
53 # install desktop file provided by Gustav Schaffter in #49577
54 dodir /usr/share/applications
55 insinto /usr/share/applications
56 doins ${FILESDIR}/putty.desktop
57
58 if test ! -c /dev/ptmx; then
59 ewarn
60 ewarn "The pterm application requires kernel UNIX98 PTY support to operate."
61 ewarn
62 fi
63 }

  ViewVC Help
Powered by ViewVC 1.1.20