diff options
-rw-r--r-- | sys-libs/libtermcap-compat/ChangeLog | 11 | ||||
-rw-r--r-- | sys-libs/libtermcap-compat/Manifest | 4 | ||||
-rw-r--r-- | sys-libs/libtermcap-compat/files/digest-libtermcap-compat-2.0.8 | 3 | ||||
-rw-r--r-- | sys-libs/libtermcap-compat/libtermcap-compat-2.0.8.ebuild | 59 |
4 files changed, 74 insertions, 3 deletions
diff --git a/sys-libs/libtermcap-compat/ChangeLog b/sys-libs/libtermcap-compat/ChangeLog index 9190fcee770a..9deae8e08c2e 100644 --- a/sys-libs/libtermcap-compat/ChangeLog +++ b/sys-libs/libtermcap-compat/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sys-libs/libtermcap-compat # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/ChangeLog,v 1.14 2003/09/17 22:42:51 avenj Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/ChangeLog,v 1.15 2003/12/31 06:43:13 seemant Exp $ + +*libtermcap-compat-2.0.8 (30 Dec 2003) + + 30 Dec 2003; Seemant Kulleen <seemant@gentoo.org> + libtermcap-compat-2.0.8.ebuild: + version bump. This incorporates Eric Raymond's latest iteration of the + /etc/termcap file, patched with some patches from Mandrake. Additionally, + libtermcap's src.rpm was liberally raided for Mandrake patches. This is + designed to work with coreutils-5.0.91-r3 17 Sep 2003; Jon Portnoy <avenj@gentoo.org> libtermcap-compat-1.2.3-r1.ebuild : diff --git a/sys-libs/libtermcap-compat/Manifest b/sys-libs/libtermcap-compat/Manifest index 24cd8d02b0ae..dff411e8ac09 100644 --- a/sys-libs/libtermcap-compat/Manifest +++ b/sys-libs/libtermcap-compat/Manifest @@ -1,7 +1,7 @@ MD5 c4d497334a238c4cebdea1c63e9fa26c libtermcap-compat-1.2.3-r1.ebuild 1150 -MD5 fbdf84c7b4191444d9e6dc5d775e5871 libtermcap-compat-2.0.8.ebuild 1376 +MD5 9e60441110358d73753f4202640da371 libtermcap-compat-2.0.8.ebuild 1485 MD5 6838559ba53008481a42a2f809f7625e libtermcap-compat-1.2.3.ebuild 1106 -MD5 59ed609eeb7eac628fe28430f61983e8 ChangeLog 1819 +MD5 8c7609cdd084418779285dd8b9dea0bf ChangeLog 2215 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 MD5 86463dc73dac3761dc5cfa83c3ec83ef files/digest-libtermcap-compat-1.2.3-r1 72 MD5 86463dc73dac3761dc5cfa83c3ec83ef files/digest-libtermcap-compat-1.2.3 72 diff --git a/sys-libs/libtermcap-compat/files/digest-libtermcap-compat-2.0.8 b/sys-libs/libtermcap-compat/files/digest-libtermcap-compat-2.0.8 new file mode 100644 index 000000000000..320617ace8a6 --- /dev/null +++ b/sys-libs/libtermcap-compat/files/digest-libtermcap-compat-2.0.8 @@ -0,0 +1,3 @@ +MD5 37318885db65314f1bcc2b22751123d3 termtypes.tc.gz 228329 +MD5 7a557332d50129e9570dc7a655c4e4cd termcap-2.0.8.tar.bz2 211523 +MD5 de0de2ec41441025214d56f7d8eba462 libtermcap-compat-2.0.8-gentoo-0.1.tar.bz2 9960 diff --git a/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8.ebuild b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8.ebuild new file mode 100644 index 000000000000..315019283125 --- /dev/null +++ b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8.ebuild,v 1.1 2003/12/31 06:43:13 seemant Exp $ + +inherit eutils + +PATCHVER=0.1 + +MY_PN=${PN/lib/} +MY_PN=${MY_PN/-compat/} +MY_P=${MY_PN}-${PV} +S=${WORKDIR}/${MY_P} +PATCHDIR=${WORKDIR}/patch +DESCRIPTION="Compatibility package for old termcap-based programs" +HOMEPAGE="http://www.catb.org/~esr/terminfo/" +SRC_URI="http://www.catb.org/~esr/terminfo/termtypes.tc.gz + http://dev.gentoo.org/~seemant/extras/${MY_P}.tar.bz2 + http://dev.gentoo.org/~seemant/extras/${P}-gentoo-${PATCHVER}.tar.bz2 + mirror://gentoo/${MY_P}.tar.bz2 + mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2" + +SLOT="0" +LICENSE="freedist" +KEYWORDS="x86 alpha sparc ppc hppa mips arm ia64 ~amd64 ~ppc64" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + + cd ${WORKDIR} + mv termtypes.tc termcap + EPATCH_SUFFIX="patch" epatch ${PATCHDIR}/tc.file + + cd ${S}; epatch ${FILESDIR}/${PN}_bcopy_fix.patch + EPATCH_SUFFIX="patch" epatch ${PATCHDIR} +} + +src_compile() { + emake prefix="/" CFLAGS="${CFLAGS} -I." || die +} + +src_install () { + dodir /lib /include /usr/lib + make prefix="${D}" OWNER="root:root" install || die + + # Conflicts with ncurses. + rm -rf ${D}/include + + cd ${D}/lib; mv libtermcap.a ../usr/lib + dosym libtermcap.so.2.0.8 /lib/libtermcap.so + + insinto /etc + doins ${WORKDIR}/termcap + + cd ${S} + dodoc ChangeLog README +} + |