diff options
-rw-r--r-- | sys-libs/ncurses/files/digest-ncurses-5.2-r4 | 9 | ||||
-rw-r--r-- | sys-libs/ncurses/ncurses-5.2-r4.ebuild | 87 |
2 files changed, 96 insertions, 0 deletions
diff --git a/sys-libs/ncurses/files/digest-ncurses-5.2-r4 b/sys-libs/ncurses/files/digest-ncurses-5.2-r4 new file mode 100644 index 000000000000..6630b0613293 --- /dev/null +++ b/sys-libs/ncurses/files/digest-ncurses-5.2-r4 @@ -0,0 +1,9 @@ +MD5 f72d0ab4f75598d0f96ff4d85d44551b ncurses-5.2-20010519.patch.gz +MD5 2b70aaabf8c21daba184766b6d300980 ncurses-5.2-20010526.patch.gz +MD5 d315bee89fa2c9b3adfa54155fdafe5d ncurses-5.2-20010602.patch.gz +MD5 385bee2908ae4a8065c8b2500fb1e093 ncurses-5.2-20010603.patch.gz +MD5 624cc86274ea56729893f21be48d14ca ncurses-5.2-20010609.patch.gz +MD5 e4050eaa533400a7d4661d5eb6a13552 ncurses-5.2-20010616.patch.gz +MD5 caafc62747869514038baca5f27b40e6 ncurses-5.2-20010618.patch.gz +MD5 464d6a49010cf2a6eb9ce59a264d4d47 ncurses-5.2.tar.gz +MD5 c60eae2be5b5a931593e7daf6a64ea86 patch-5.2-20010512.sh diff --git a/sys-libs/ncurses/ncurses-5.2-r4.ebuild b/sys-libs/ncurses/ncurses-5.2-r4.ebuild new file mode 100644 index 000000000000..88ce9309aaa9 --- /dev/null +++ b/sys-libs/ncurses/ncurses-5.2-r4.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.2-r4.ebuild,v 1.1 2001/06/19 00:27:38 achim Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Linux console display libarary" +SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/ncurses/${P}.tar.gz + ftp://dickey.his.com/ncurses/5.2/patch-5.2-20010512.sh + ftp://dickey.his.com/ncurses/5.2/${P}-20010618.patch.gz + ftp://dickey.his.com/ncurses/5.2/${P}-20010616.patch.gz + ftp://dickey.his.com/ncurses/5.2/${P}-20010609.patch.gz + ftp://dickey.his.com/ncurses/5.2/${P}-20010603.patch.gz + ftp://dickey.his.com/ncurses/5.2/${P}-20010602.patch.gz + ftp://dickey.his.com/ncurses/5.2/${P}-20010526.patch.gz + ftp://dickey.his.com/ncurses/5.2/${P}-20010519.patch.gz" + +HOMEPAGE="http://www.gnu.org/software/ncurses/ncurses.html" +DEPEND="virtual/glibc" +src_unpack() { + unpack ${P}.tar.gz + cd ${S} + try sh ${DISTDIR}/patch-5.2-20010512.sh + try gzip -dc ${DISTDIR}/${P}-20010519.patch.gz | patch -p1 + try gzip -dc ${DISTDIR}/${P}-20010526.patch.gz | patch -p1 + try gzip -dc ${DISTDIR}/${P}-20010602.patch.gz | patch -p1 + try gzip -dc ${DISTDIR}/${P}-20010603.patch.gz | patch -p1 + try gzip -dc ${DISTDIR}/${P}-20010609.patch.gz | patch -p1 + try gzip -dc ${DISTDIR}/${P}-20010616.patch.gz | patch -p1 + try gzip -dc ${DISTDIR}/${P}-20010618.patch.gz | patch -p1 +} + +src_compile() { + + if [ -z "$DEBUG" ] + then + myconf="${myconf} --without-debug" + fi + rm -rf test + try ./configure --prefix=/usr --libdir=/lib --mandir=/usr/share/man \ + --enable-symlinks --enable-termcap \ + --with-shared --with-rcs-ids \ + --host=${CHOST} ${myconf} + + echo "all:" > test/Makefile + # Parallel make fails sometimes so I removed MAKEOPTS + try make + +} + +src_install() { + + dodir /usr/lib + echo "install:" >> test/Makefile + try make DESTDIR=${D} install + + cd ${D}/lib + ln -s libncurses.a libcurses.a + chmod 755 ${D}/lib/*.${PV} + dodir /usr/lib + mv libform* libmenu* libpanel* ../usr/lib + mv *.a ../usr/lib + + cd ${S} + + dodoc ANNOUNCE MANIFEST NEWS README* TO-DO + dodoc doc/*.doc + docinto html + dodoc doc/html/*.html + docinto html/ada + dodoc doc/html/ada/*.htm + docinto html/ada/files + dodoc doc/html/ada/files/*.htm + docinto html/ada/funcs + dodoc doc/html/ada/funcs/*.htm + docinto html/man + dodoc doc/html/man/*.html + + #with this fix, the default xterm has color as it should + cd ${D}/usr/share/terminfo/x + mv xterm xterm.orig + ln -s xterm-color xterm + +} + + + |