From 59242ea8b6a9b1626f5fd6054f0dee6231493a8f Mon Sep 17 00:00:00 2001 From: Nick Hadaway Date: Thu, 17 Oct 2002 17:52:14 +0000 Subject: New ncurses ebuild. Please comment on bug #9245 --- sys-libs/ncurses/ChangeLog | 9 +++- sys-libs/ncurses/files/digest-ncurses-5.3 | 1 + sys-libs/ncurses/ncurses-5.3.ebuild | 71 +++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 sys-libs/ncurses/files/digest-ncurses-5.3 create mode 100644 sys-libs/ncurses/ncurses-5.3.ebuild (limited to 'sys-libs') diff --git a/sys-libs/ncurses/ChangeLog b/sys-libs/ncurses/ChangeLog index cd4e08d712cc..e087f36c0839 100644 --- a/sys-libs/ncurses/ChangeLog +++ b/sys-libs/ncurses/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-libs/ncurses # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ChangeLog,v 1.13 2002/09/03 21:11:29 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ChangeLog,v 1.14 2002/10/17 17:52:14 raker Exp $ + +*ncurses-5.3 (17 Oct 2002) + + 17 Oct 2002; Nick Hadaway ncurses-5.3.ebuild, + files/digest-ncurses-5.3 : + New version of ncurses. Many years worth of fixes culminating to a + new release. *ncurses-5.2.20020511-r2 (3 Sep 2002) *ncurses-5.2-r6 (3 Sep 2002) diff --git a/sys-libs/ncurses/files/digest-ncurses-5.3 b/sys-libs/ncurses/files/digest-ncurses-5.3 new file mode 100644 index 000000000000..e8f327278e5b --- /dev/null +++ b/sys-libs/ncurses/files/digest-ncurses-5.3 @@ -0,0 +1 @@ +MD5 5dcc9faa93157eafa572494bffed131a ncurses-5.3.tar.gz 2067718 diff --git a/sys-libs/ncurses/ncurses-5.3.ebuild b/sys-libs/ncurses/ncurses-5.3.ebuild new file mode 100644 index 000000000000..266eed0aecf2 --- /dev/null +++ b/sys-libs/ncurses/ncurses-5.3.ebuild @@ -0,0 +1,71 @@ +# 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 $ + +IUSE="" + +S="${WORKDIR}/${P}" + +inherit flag-o-matic +filter-flags "-fno-exceptions" + +DESCRIPTION="Linux console display library" +HOMEPAGE="http://www.gnu.org/software/ncurses/ncurses.html" +SRC_URI="mirror://gnu/ncurses/${P}.tar.gz" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="x86 ppc sparc sparc64 alpha" + +DEPEND="virtual/glibc" +RDEPEND="${DEPEND}" + +src_compile() { + + [ -z "$DEBUGBUILD" ] && myconf="${myconf} --without-debug" + + econf \ + --libdir=/lib \ + --disable-termcap \ + --with-shared \ + --with-rcs-ids \ + ${myconf} || die "configure failed" + + emake || die "parallel make failed" + +} + +src_install() { + + make DESTDIR=${D} install || die "make install failed" + + # Move static and extraneous ncurses libraries out of /lib + cd ${D}/lib + dodir /usr/lib + mv libform* libmenu* libpanel* ${D}/usr/lib + mv *.a ${D}/usr/lib + + # With this fix, the default xterm has color as it should + cd ${D}/usr/share/terminfo/x + 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/ + fi + +} -- cgit v1.2.3-65-gdbad