some tab fixes. Add the comments back.
authorMartin Schlemmer <azarah@gentoo.org>
Sun, 20 Oct 2002 06:06:47 +0000 (06:06 +0000)
committerMartin Schlemmer <azarah@gentoo.org>
Sun, 20 Oct 2002 06:06:47 +0000 (06:06 +0000)
sys-libs/ncurses/ncurses-5.3.ebuild

index 266eed0aecf27ba89325552d11e783777c47bf16..d55437f8c2c09e4deeded6cc3a522c6c244e6eb5 100644 (file)
@@ -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
-
 }
+