summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libtermcap-compat/Manifest4
-rw-r--r--sys-libs/libtermcap-compat/files/digest-libtermcap-compat-1.2.3-r11
-rw-r--r--sys-libs/libtermcap-compat/libtermcap-compat-1.2.3-r1.ebuild44
3 files changed, 47 insertions, 2 deletions
diff --git a/sys-libs/libtermcap-compat/Manifest b/sys-libs/libtermcap-compat/Manifest
index 2163ff91cd5d..daa107263def 100644
--- a/sys-libs/libtermcap-compat/Manifest
+++ b/sys-libs/libtermcap-compat/Manifest
@@ -1,6 +1,6 @@
-MD5 a008cbf141f48f57244b95e2f17009d2 libtermcap-compat-1.2.3-r1.ebuild 1102
+MD5 14300a15fac16393564b1b310bab9cd2 libtermcap-compat-1.2.3-r1.ebuild 1091
MD5 6838559ba53008481a42a2f809f7625e libtermcap-compat-1.2.3.ebuild 1106
-MD5 c8b4578a54cc89f4ddb3d387b157cc09 ChangeLog 1290
+MD5 3a7e9150c9df67464e4c276f911ddbc1 ChangeLog 1518
MD5 86463dc73dac3761dc5cfa83c3ec83ef files/digest-libtermcap-compat-1.2.3-r1 72
MD5 86463dc73dac3761dc5cfa83c3ec83ef files/digest-libtermcap-compat-1.2.3 72
MD5 c5389fda988845f0c56af4ec72c8d524 files/libtermcap-compat_bcopy_fix.patch 314
diff --git a/sys-libs/libtermcap-compat/files/digest-libtermcap-compat-1.2.3-r1 b/sys-libs/libtermcap-compat/files/digest-libtermcap-compat-1.2.3-r1
new file mode 100644
index 000000000000..7f86750b9f0e
--- /dev/null
+++ b/sys-libs/libtermcap-compat/files/digest-libtermcap-compat-1.2.3-r1
@@ -0,0 +1 @@
+MD5 698f1e510845b8c0f15ea8c3010c35ed termcap-compat_1.2.3.tar.gz 552156
diff --git a/sys-libs/libtermcap-compat/libtermcap-compat-1.2.3-r1.ebuild b/sys-libs/libtermcap-compat/libtermcap-compat-1.2.3-r1.ebuild
new file mode 100644
index 000000000000..cba419731807
--- /dev/null
+++ b/sys-libs/libtermcap-compat/libtermcap-compat-1.2.3-r1.ebuild
@@ -0,0 +1,44 @@
+# 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-1.2.3-r1.ebuild,v 1.1 2003/09/06 14:16:45 taviso Exp $
+
+MY_PN="termcap-compat"
+S="${WORKDIR}/${MY_PN}-${PV}"
+DESCRIPTION="Compatibility package for old termcap-based programs"
+SRC_URI="http://ftp.debian.org/debian/dists/potato/main/source/oldlibs/${MY_PN}_${PV}.tar.gz"
+HOMEPAGE="http://packages.debian.org/stable/oldlibs/termcap-compat.html"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~alpha"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}; epatch ${FILESDIR}/${PN}_bcopy_fix.patch
+}
+
+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
+ newins ${S}/termtypes.tc termcap
+
+ cd ${S}
+ dodoc ChangeLog README
+}
+