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

Contents of /net-misc/putty/putty-20030902-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Oct 7 14:01:09 2003 UTC (16 years ago) by taviso
Branch: MAIN
Changes since 1.1: +2 -2 lines
stable, cleaning up.

1 taviso 1.1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 taviso 1.2 # $Header: /home/cvsroot/gentoo-x86/net-misc/putty/putty-20030902-r1.ebuild,v 1.1 2003/09/13 20:32:59 taviso Exp $
4 taviso 1.1
5     DESCRIPTION="UNIX port of the famous Windows Telnet and SSH client"
6    
7     HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
8     SRC_URI="mirror://gentoo/putty-cvs-${PV}.tar.gz"
9     LICENSE="MIT"
10    
11     SLOT="0"
12 taviso 1.2 KEYWORDS="x86 alpha"
13 taviso 1.1 IUSE="doc"
14    
15     RDEPEND="=x11-libs/gtk+-1.2*
16     virtual/x11"
17     DEPEND="${RDEPEND}
18     >=dev-lang/perl-5.8.0
19     >=sys-apps/sed-4
20     =x11-libs/gtk+-1.2*
21     virtual/x11"
22    
23     S=${WORKDIR}/${PN}
24    
25     src_compile() {
26     # generate the makefiles
27     einfo "Generating Makefiles..."
28     ${S}/mkfiles.pl || die "failed to create makefiles."
29    
30     # change the CFLAGS to those requested by user.
31     einfo "Setting CFLAGS..."
32     sed -i "s/-O2/${CFLAGS}/g" ${S}/unix/Makefile.gtk
33    
34     # build putty.
35     einfo "Building putty..."
36     cd ${S}/unix; emake -f Makefile.gtk
37     }
38    
39     src_install() {
40    
41     cd ${S}/unix
42    
43     # man pages...
44     doman plink.1 pterm.1 putty.1 puttytel.1
45    
46     # binaries...
47     dobin plink pterm putty puttytel psftp pscp
48    
49     cd ${S}
50    
51     # docs...
52     dodoc README README.txt LICENCE CHECKLST.txt LATEST.VER website.url MODULE
53     use doc && dodoc doc/*
54    
55     prepallman
56    
57     if test ! -c /dev/ptmx; then
58     ewarn
59     ewarn "The pterm application requires UNIX98 PTY support to operate."
60     ewarn
61     fi
62     }

  ViewVC Help
Powered by ViewVC 1.1.20