summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-27 07:08:55 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-27 07:08:55 +0000
commitb96e21da9f990200a04de9c85642790abfb8049c (patch)
tree3fae2843de39640216e2cb86226520d56737882a /app-misc/ckermit
parentversion bump (diff)
downloadgentoo-2-b96e21da9f990200a04de9c85642790abfb8049c.tar.gz
gentoo-2-b96e21da9f990200a04de9c85642790abfb8049c.tar.bz2
gentoo-2-b96e21da9f990200a04de9c85642790abfb8049c.zip
cleanup
Diffstat (limited to 'app-misc/ckermit')
-rw-r--r--app-misc/ckermit/ckermit-7.0-r1.ebuild37
1 files changed, 20 insertions, 17 deletions
diff --git a/app-misc/ckermit/ckermit-7.0-r1.ebuild b/app-misc/ckermit/ckermit-7.0-r1.ebuild
index 8715e178a690..7eb5ff84d018 100644
--- a/app-misc/ckermit/ckermit-7.0-r1.ebuild
+++ b/app-misc/ckermit/ckermit-7.0-r1.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Copyright 1999-2002 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.2 2001/08/11 04:42:31 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ckermit/ckermit-7.0-r1.ebuild,v 1.3 2002/04/27 07:08:55 seemant Exp $
-#P=
-A=cku197.tar.gz
+MY_P=cku197
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}"
+SRC_URI="ftp://kermit.columbia.edu/kermit/archives/${MY_P}.tar.gz"
HOMEPAGE="http://www.kermit-project.org/"
DEPEND="virtual/glibc
@@ -15,23 +14,27 @@ DEPEND="virtual/glibc
src_unpack () {
- unpack ${A}
- cd ${S}
- patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
- cp makefile makefile.orig
- sed -e "s:-O:$CFLAGS:" makefile.orig > makefile
+ 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
+ make KFLAGS="-DCK_SHADOW" linux || die
}
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
+ dodir /usr/bin
+ dodir /usr/share/man/man1
+ dodir /usr/share/doc/${P}
+ make \
+ DESTDIR=${D} \
+ BINDIR=/usr/bin \
+ MANDIR=/usr/share/man/man1 \
+ INFODIR=${D}/usr/share/doc/${P} \
+ MANEXT=1 \
+ install || die
}
-