summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-11-30 09:38:30 +0000
committerChris White <chriswhite@gentoo.org>2005-11-30 09:38:30 +0000
commit67c8b060271109f68d8b0a44de61d297ddfbe2e7 (patch)
tree42ce8164da9dd6d55caa82dfe6832b4a2a0a6ad5 /app-editors/teco/teco-1.00-r2.ebuild
parent*** empty log message *** (diff)
downloadgentoo-2-67c8b060271109f68d8b0a44de61d297ddfbe2e7.tar.gz
gentoo-2-67c8b060271109f68d8b0a44de61d297ddfbe2e7.tar.bz2
gentoo-2-67c8b060271109f68d8b0a44de61d297ddfbe2e7.zip
Diffstat (limited to 'app-editors/teco/teco-1.00-r2.ebuild')
-rw-r--r--app-editors/teco/teco-1.00-r2.ebuild33
1 files changed, 16 insertions, 17 deletions
diff --git a/app-editors/teco/teco-1.00-r2.ebuild b/app-editors/teco/teco-1.00-r2.ebuild
index 348b4df866ef..89c19f181ab2 100644
--- a/app-editors/teco/teco-1.00-r2.ebuild
+++ b/app-editors/teco/teco-1.00-r2.ebuild
@@ -1,46 +1,45 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/teco-1.00-r2.ebuild,v 1.7 2005/07/08 17:53:28 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/teco-1.00-r2.ebuild,v 1.1 2003/09/08 13:08:17 taviso Exp $
inherit ccc
-DESCRIPTION="Classic TECO editor, Predecessor to EMACS"
+DESCRIPTION="Classic TECO editor, Predecessor to EMACS."
HOMEPAGE="http://www.ibiblio.org/pub/linux/apps/editors/tty/ http://www.ibiblio.org/pub/academic/computer-science/history/pdp-11/teco"
SRC_URI="http://www.ibiblio.org/pub/linux/apps/editors/tty/teco.tar.gz
doc? ( mirror://gentoo/tecolore.txt.gz
mirror://gentoo/tech.txt.gz
mirror://gentoo/teco.doc.gz
mirror://gentoo/tecoprog.doc.gz )"
-
LICENSE="freedist"
+
SLOT="0"
-KEYWORDS="alpha ~ppc x86"
+KEYWORDS="alpha x86"
IUSE="doc"
-RDEPEND="virtual/libc"
-DEPEND="${DEPEND}
+DEPEND="virtual/glibc
+ sys-libs/libtermcap-compat
>=sys-apps/sed-4"
+RDEPEND="virtual/glibc
+ sys-libs/libtermcap-compat"
PROVIDE="virtual/editor"
S=${WORKDIR}
-src_unpack() {
- unpack ${A}
- cd ${S}
+src_compile() {
# Remove hardcoded compiler and CFLAGS
- sed -i \
- -e 's/CFLAGS = -O//' \
- -e 's:-ltermcap:-lncurses:' \
- Makefile
+ sed -i 's/CFLAGS = -O//' Makefile
replace-cc-hardcode
-}
-src_compile() {
emake || die "compilation failed"
+
+ echo
+ size te; ls -l te
+ echo
}
src_install() {
- dobin te || die
+ dobin te
dodoc sample.tecorc sample.tecorc2 READ.ME MANIFEST
use doc && dodoc tecolore.txt tech.txt teco.doc tecoprog.doc
doman te.1