summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-08-20 04:42:36 +0000
committerMike Frysinger <vapier@gentoo.org>2011-08-20 04:42:36 +0000
commit4a54b6c102afd873c83de873766678de556c8e5f (patch)
tree8f0b9158554c832eb52c0d6a1ebb0207087c7460 /sys-libs/libtermcap-compat
parentx86 stable wrt security bug #378345 (diff)
downloadgentoo-2-4a54b6c102afd873c83de873766678de556c8e5f.tar.gz
gentoo-2-4a54b6c102afd873c83de873766678de556c8e5f.tar.bz2
gentoo-2-4a54b6c102afd873c83de873766678de556c8e5f.zip
Clean up & simplify the build a bit and respect build settings #379273 by Agostino Sarubbo.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libtermcap-compat')
-rw-r--r--sys-libs/libtermcap-compat/ChangeLog11
-rw-r--r--sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r3.ebuild51
2 files changed, 60 insertions, 2 deletions
diff --git a/sys-libs/libtermcap-compat/ChangeLog b/sys-libs/libtermcap-compat/ChangeLog
index 6357b1093e4e..2fc51a01a56f 100644
--- a/sys-libs/libtermcap-compat/ChangeLog
+++ b/sys-libs/libtermcap-compat/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-libs/libtermcap-compat
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/ChangeLog,v 1.40 2010/02/19 14:11:46 ulm Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/ChangeLog,v 1.41 2011/08/20 04:42:36 vapier Exp $
+
+*libtermcap-compat-2.0.8-r3 (20 Aug 2011)
+
+ 20 Aug 2011; Mike Frysinger <vapier@gentoo.org>
+ +libtermcap-compat-2.0.8-r3.ebuild:
+ Clean up & simplify the build a bit and respect build settings #379273 by
+ Agostino Sarubbo.
19 Feb 2010; Ulrich Mueller <ulm@gentoo.org>
libtermcap-compat-2.0.8-r2.ebuild:
diff --git a/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r3.ebuild b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r3.ebuild
new file mode 100644
index 000000000000..909c51626046
--- /dev/null
+++ b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# 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-r3.ebuild,v 1.1 2011/08/20 04:42:36 vapier Exp $
+
+# we only want this for binary-only packages, so we will only be installing
+# the lib used at runtime; no headers and no files to link against
+
+EAPI="2"
+
+inherit eutils multilib toolchain-funcs
+
+PATCHVER="2"
+
+MY_P="termcap-${PV}"
+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
+ mirror://gentoo/${MY_P}.tar.bz2
+ mirror://gentoo/${MY_P}-patches-${PATCHVER}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ EPATCH_SOURCE="${WORKDIR}/patch"
+ EPATCH_SUFFIX="patch"
+ epatch "${EPATCH_SOURCE}"
+
+ cd "${WORKDIR}"
+ mv termtypes.tc termcap || die
+ epatch "${EPATCH_SOURCE}"/tc.file
+}
+
+src_configure() {
+ tc-export CC
+}
+
+src_install() {
+ into /
+ dolib.so libtermcap.so.${PV} || die
+ dosym libtermcap.so.${PV} /$(get_libdir)/libtermcap.so.2 || die
+
+ insinto /etc
+ doins "${WORKDIR}"/termcap || die
+
+ dodoc ChangeLog README
+}