/[gentoo-alt]/trunk/net-misc/freebsd-telnet/freebsd-telnet-5.2.1.ebuild
Gentoo

Contents of /trunk/net-misc/freebsd-telnet/freebsd-telnet-5.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21 - (show annotations) (download)
Wed Sep 15 18:53:12 2004 UTC (10 years, 2 months ago) by angusyoung
File size: 616 byte(s)
Initial Release

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit freebsd-utils
6 DESCRIPTION="Telnet from FreeBSD"
7 DEPEND="virtual/libc"
8 S=${WORKDIR}/usr.bin/telnet
9
10 src_compile() {
11 # First we need libtelnet
12 cd ${WORKDIR}/lib/libtelnet
13 emake || die "Compilation of libtelnet failed"
14 cd ${S}
15 emake || die "emake failed"
16 }
17
18 src_install() {
19 create_dir
20 emake DESTDIR=${D} install || die "Unable to install"
21 mv ${D}telnet ${D}/usr/bin
22 }
23
24 create_dir() {
25 mkdir ${D}usr
26 mkdir ${D}usr/{bin,share}
27 mkdir ${D}usr/share/man
28 mkdir ${D}usr/share/man/man1
29 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20