/[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.5 - (show annotations) (download)
Tue Jun 1 21:33:54 2004 UTC (15 years, 4 months ago) by taviso
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
new versioning system, as upstream have made a first release for UNIX systems.

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/putty/putty-20030902-r1.ebuild,v 1.4 2004/05/07 15:47:48 jhuebel Exp $
4
5 DESCRIPTION="UNIX port of the famous 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 KEYWORDS="x86 alpha"
13 IUSE="doc"
14
15 RDEPEND="=x11-libs/gtk+-1.2* virtual/x11"
16
17 DEPEND="${RDEPEND}
18 >=dev-lang/perl-5.8.0
19 >=sys-apps/sed-4"
20
21 S=${WORKDIR}/${PN}
22
23 src_unpack() {
24 # unpack the tarball...
25 unpack ${A}
26
27 # generate the makefiles
28 ebegin "Generating Makefiles"
29 cd ${S}; ${S}/mkfiles.pl
30 eend $?
31
32 # change the CFLAGS to those requested by user.
33 ebegin "Setting CFLAGS"
34 sed -i "s!-O2!${CFLAGS}!g" ${S}/unix/Makefile.gtk
35 eend $?
36 }
37
38 src_compile() {
39 # build putty.
40 einfo "Building putty..."
41 cd ${S}/unix; emake -f Makefile.gtk
42 }
43
44 src_install() {
45
46 cd ${S}/unix
47
48 # man pages...
49 doman plink.1 pterm.1 putty.1 puttytel.1
50
51 # binaries...
52 dobin plink pterm putty puttytel psftp pscp
53
54 cd ${S}
55
56 # docs...
57 dodoc README README.txt LICENCE CHECKLST.txt LATEST.VER website.url MODULE
58 use doc && dodoc doc/*
59
60 prepallman
61
62 if test ! -c /dev/ptmx; then
63 ewarn
64 ewarn "The pterm application requires kernel UNIX98 PTY support to operate."
65 ewarn
66 fi
67 }

  ViewVC Help
Powered by ViewVC 1.1.20