diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-20 04:22:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-20 04:22:41 +0000 |
commit | a10151989bc13e97a6e6b20c51146d6ec5aaf812 (patch) | |
tree | cae11876a03aef3fbc5587b920f0a3b70242f943 /sys-libs/libtermcap-compat | |
parent | stabilize (diff) | |
download | gentoo-2-a10151989bc13e97a6e6b20c51146d6ec5aaf812.tar.gz gentoo-2-a10151989bc13e97a6e6b20c51146d6ec5aaf812.tar.bz2 gentoo-2-a10151989bc13e97a6e6b20c51146d6ec5aaf812.zip |
Version bump to start deprecating this craptastic package.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-libs/libtermcap-compat')
-rw-r--r-- | sys-libs/libtermcap-compat/ChangeLog | 10 | ||||
-rw-r--r-- | sys-libs/libtermcap-compat/files/digest-libtermcap-compat-2.0.8-r2 | 3 | ||||
-rw-r--r-- | sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild | 60 |
3 files changed, 71 insertions, 2 deletions
diff --git a/sys-libs/libtermcap-compat/ChangeLog b/sys-libs/libtermcap-compat/ChangeLog index e0460bfa26f2..c5473f1c1ff1 100644 --- a/sys-libs/libtermcap-compat/ChangeLog +++ b/sys-libs/libtermcap-compat/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/libtermcap-compat -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/ChangeLog,v 1.27 2005/07/28 14:37:45 seemant Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/ChangeLog,v 1.28 2005/08/20 04:22:41 vapier Exp $ + +*libtermcap-compat-2.0.8-r2 (20 Aug 2005) + + 20 Aug 2005; Mike Frysinger <vapier@gentoo.org> + +libtermcap-compat-2.0.8-r2.ebuild: + Version bump to start deprecating this craptastic package. 28 Jul 2005; Seemant Kulleen <seemant@gentoo.org> -libtermcap-compat-1.2.3.ebuild, -libtermcap-compat-2.0.8.ebuild, diff --git a/sys-libs/libtermcap-compat/files/digest-libtermcap-compat-2.0.8-r2 b/sys-libs/libtermcap-compat/files/digest-libtermcap-compat-2.0.8-r2 new file mode 100644 index 000000000000..320617ace8a6 --- /dev/null +++ b/sys-libs/libtermcap-compat/files/digest-libtermcap-compat-2.0.8-r2 @@ -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-r2.ebuild b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild new file mode 100644 index 000000000000..86f5cf3625cb --- /dev/null +++ b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 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-r2.ebuild,v 1.1 2005/08/20 04:22:41 vapier Exp $ + +inherit eutils multilib + +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 + mirror://gentoo/${MY_P}.tar.bz2 + mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +DEPEND="" + +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} + + epatch ${FILESDIR}/${P}-fPIC.patch +} + +src_compile() { + emake prefix="/" CFLAGS="${CFLAGS} -I." || die +} + +src_install () { + dodir /lib /include + make prefix="${D}" OWNER="root:root" install || die + + # Conflicts with ncurses. + rm -r "${D}"/include + + cd "${D}"/lib + rm -f libtermcap.{a,so} + dosym libtermcap.so.${PV} /lib/libtermcap.so.2 + + insinto /etc + doins ${WORKDIR}/termcap + + cd ${S} + dodoc ChangeLog README +} |