summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Conrad Tilstra <tadpol@gentoo.org>2001-06-27 02:33:31 +0000
committerMichael Conrad Tilstra <tadpol@gentoo.org>2001-06-27 02:33:31 +0000
commitff2c682ecf87a057fdb88421525e59bd8d9ddb40 (patch)
tree90765c5dd1d822a16bb3750c1bc029e47c0f94c5 /app-misc/ckermit
parentNew rev with a fix for gcc-3.0 that does not hurt a build with 2.95.3 (diff)
downloadhistorical-ff2c682ecf87a057fdb88421525e59bd8d9ddb40.tar.gz
historical-ff2c682ecf87a057fdb88421525e59bd8d9ddb40.tar.bz2
historical-ff2c682ecf87a057fdb88421525e59bd8d9ddb40.zip
- blah. I don't want to know how long I left an ebuild that put the docs
into the wrong location on the cvs.....
Diffstat (limited to 'app-misc/ckermit')
-rw-r--r--app-misc/ckermit/ckermit-7.0-r1.ebuild37
-rw-r--r--app-misc/ckermit/files/ckermit-7.0-r1-gentoo.diff13
2 files changed, 50 insertions, 0 deletions
diff --git a/app-misc/ckermit/ckermit-7.0-r1.ebuild b/app-misc/ckermit/ckermit-7.0-r1.ebuild
new file mode 100644
index 000000000000..bb0d500d464c
--- /dev/null
+++ b/app-misc/ckermit/ckermit-7.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Michael Conrad Tilstra <tadpol@gentoo.org> <tadpol@tadpol.org>
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ckermit/ckermit-7.0-r1.ebuild,v 1.1 2001/06/27 02:33:31 tadpol Exp $
+
+#P=
+A=cku197.tar.gz
+S=${WORKDIR}
+DESCRIPTION="C-Kermit is a combined serial and network communication software package offering a consistent, medium-independent, cross-platform approach to connection establishment, terminal sessions, file transfer, character-set translation, numeric and alphanumeric paging, and automation of communication tasks."
+SRC_URI="ftp://kermit.columbia.edu/kermit/archives/${A}"
+HOMEPAGE="http://www.kermit-project.org/"
+
+DEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.2"
+
+src_unpack () {
+
+ unpack ${A}
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
+ cp makefile makefile.orig
+ sed -e "s:-O:$CFLAGS:" makefile.orig > makefile
+}
+
+src_compile() {
+
+ try make \"KFLAGS=-DCK_SHADOW\" linux
+}
+
+src_install () {
+ dodir /usr/bin
+ dodir /usr/share/man/man1
+ dodir /usr/share/doc/${P}
+ try make DESTDIR=${D} BINDIR=/usr/bin MANDIR=/usr/share/man/man1 \
+ INFODIR=${D}/usr/share/doc/${P} MANEXT=1 install
+}
+
diff --git a/app-misc/ckermit/files/ckermit-7.0-r1-gentoo.diff b/app-misc/ckermit/files/ckermit-7.0-r1-gentoo.diff
new file mode 100644
index 000000000000..c0dcb04bf0d4
--- /dev/null
+++ b/app-misc/ckermit/files/ckermit-7.0-r1-gentoo.diff
@@ -0,0 +1,13 @@
+--- ckcnet.c~ Sat Feb 5 18:27:48 2000
++++ ckcnet.c Fri Apr 27 04:58:43 2001
+@@ -57,7 +57,9 @@
+ #ifdef CK_SSL
+ #include "ck_ssl.h"
+ #endif /* CK_SSL */
+-
++#ifdef LINUX
++#include <time.h>
++#endif
+ #ifdef CK_DNS_SRV
+ #ifdef OS2
+ #ifdef NT