From ff2c682ecf87a057fdb88421525e59bd8d9ddb40 Mon Sep 17 00:00:00 2001 From: Michael Conrad Tilstra Date: Wed, 27 Jun 2001 02:33:31 +0000 Subject: - blah. I don't want to know how long I left an ebuild that put the docs into the wrong location on the cvs..... --- app-misc/ckermit/ckermit-7.0-r1.ebuild | 37 +++++++++++++++++++++++ app-misc/ckermit/files/ckermit-7.0-r1-gentoo.diff | 13 ++++++++ 2 files changed, 50 insertions(+) create mode 100644 app-misc/ckermit/ckermit-7.0-r1.ebuild create mode 100644 app-misc/ckermit/files/ckermit-7.0-r1-gentoo.diff (limited to 'app-misc/ckermit') 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 +# $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 ++#endif + #ifdef CK_DNS_SRV + #ifdef OS2 + #ifdef NT -- cgit v1.2.3-65-gdbad