summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-10-20 06:06:47 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-10-20 06:06:47 +0000
commitf49bf5ca6a252572c6432b253402b93223262f3a (patch)
treeb4d60bfb4770547dc91f149632cc621514bbb2b4 /sys-libs
parent2.3.1 test version (diff)
downloadgentoo-2-f49bf5ca6a252572c6432b253402b93223262f3a.tar.gz
gentoo-2-f49bf5ca6a252572c6432b253402b93223262f3a.tar.bz2
gentoo-2-f49bf5ca6a252572c6432b253402b93223262f3a.zip
some tab fixes. Add the comments back.
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/ncurses/ncurses-5.3.ebuild47
1 files changed, 24 insertions, 23 deletions
diff --git a/sys-libs/ncurses/ncurses-5.3.ebuild b/sys-libs/ncurses/ncurses-5.3.ebuild
index 266eed0aecf2..d55437f8c2c0 100644
--- a/sys-libs/ncurses/ncurses-5.3.ebuild
+++ b/sys-libs/ncurses/ncurses-5.3.ebuild
@@ -1,14 +1,13 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.3.ebuild,v 1.1 2002/10/17 17:52:14 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.3.ebuild,v 1.2 2002/10/20 06:06:47 azarah Exp $
IUSE=""
-S="${WORKDIR}/${P}"
-
inherit flag-o-matic
filter-flags "-fno-exceptions"
+S="${WORKDIR}/${P}"
DESCRIPTION="Linux console display library"
HOMEPAGE="http://www.gnu.org/software/ncurses/ncurses.html"
SRC_URI="mirror://gnu/ncurses/${P}.tar.gz"
@@ -18,11 +17,10 @@ SLOT="5"
KEYWORDS="x86 ppc sparc sparc64 alpha"
DEPEND="virtual/glibc"
-RDEPEND="${DEPEND}"
src_compile() {
- [ -z "$DEBUGBUILD" ] && myconf="${myconf} --without-debug"
+ [ -z "${DEBUGBUILD}" ] && myconf="${myconf} --without-debug"
econf \
--libdir=/lib \
@@ -32,7 +30,6 @@ src_compile() {
${myconf} || die "configure failed"
emake || die "parallel make failed"
-
}
src_install() {
@@ -50,22 +47,26 @@ src_install() {
mv xterm xterm.orig
dosym xterm-color /usr/share/terminfo/x/xterm
- if [ -n "`use build`" ]
- then
- cd ${D}
- rm -rf usr/share/man
- cd usr/share/terminfo
- cp -a l/linux n/nxterm v/vt100 ${T}
- rm -rf *
- mkdir l x v
- cp -a ${T}/linux l
- cp -a ${T}/nxterm x/xterm
- cp -a ${T}/vt100 v
- else
- cd ${S}
- dodoc ANNOUNCE MANIFEST NEWS README* TO-DO
- dodoc doc/*.doc
- dohtml -r doc/html/
+ if [ -n "`use build`" ]
+ then
+ cd ${D}
+ rm -rf usr/share/man
+ cd usr/share/terminfo
+ cp -a l/linux n/nxterm v/vt100 ${T}
+ rm -rf *
+ mkdir l x v
+ cp -a ${T}/linux l
+ cp -a ${T}/nxterm x/xterm
+ cp -a ${T}/vt100 v
+ #bash compilation requires static libncurses libraries, so
+ #this breaks the "build a new build image" system. We now
+ #need to remove libncurses.a from the build image manually.
+ #rm *.a
+ else
+ cd ${S}
+ dodoc ANNOUNCE MANIFEST NEWS README* TO-DO
+ dodoc doc/*.doc
+ dohtml -r doc/html/
fi
-
}
+