diff options
-rw-r--r-- | x11-terms/xvt/Manifest | 4 | ||||
-rw-r--r-- | x11-terms/xvt/files/digest-xvt-2.1 | 1 | ||||
-rw-r--r-- | x11-terms/xvt/files/xvt-2.1.diff.gz | bin | 0 -> 39941 bytes | |||
-rw-r--r-- | x11-terms/xvt/metadata.xml | 12 | ||||
-rw-r--r-- | x11-terms/xvt/xvt-2.1.ebuild | 45 |
5 files changed, 61 insertions, 1 deletions
diff --git a/x11-terms/xvt/Manifest b/x11-terms/xvt/Manifest index dcb565b07577..64a2398d728d 100644 --- a/x11-terms/xvt/Manifest +++ b/x11-terms/xvt/Manifest @@ -1,3 +1,5 @@ -MD5 c789252a87e973cf9df6b785f1d2fe9a xvt-2.1.ebuild 839 +MD5 4dd68fa94a9d7d6cdbbc49eaeae2d81e xvt-2.1.ebuild 1022 +MD5 e83cc837b22523e062db4c5090c4ce12 ChangeLog 340 +MD5 3ad0818ec98b13c8b0ea5e54fee8ef84 metadata.xml 326 MD5 ec975dfd47a6346ddfbd5554c88e827c files/digest-xvt-2.1 57 MD5 c9db9dce999411dc4a4183094b0c33d1 files/xvt-2.1.diff.gz 39941 diff --git a/x11-terms/xvt/files/digest-xvt-2.1 b/x11-terms/xvt/files/digest-xvt-2.1 new file mode 100644 index 000000000000..291efc66b24b --- /dev/null +++ b/x11-terms/xvt/files/digest-xvt-2.1 @@ -0,0 +1 @@ +MD5 907c07376ea39f411cfddbd149366fef xvt-1.0.tar.Z 59445 diff --git a/x11-terms/xvt/files/xvt-2.1.diff.gz b/x11-terms/xvt/files/xvt-2.1.diff.gz Binary files differnew file mode 100644 index 000000000000..eb58a2845197 --- /dev/null +++ b/x11-terms/xvt/files/xvt-2.1.diff.gz diff --git a/x11-terms/xvt/metadata.xml b/x11-terms/xvt/metadata.xml new file mode 100644 index 000000000000..0d2f170eec36 --- /dev/null +++ b/x11-terms/xvt/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>taviso@gentoo.org</email> + <name>Tavis Ormandy</name> +</maintainer> +<longdescription> +A tiny vt100 terminal emulator for X. +</longdescription> +</pkgmetadata> diff --git a/x11-terms/xvt/xvt-2.1.ebuild b/x11-terms/xvt/xvt-2.1.ebuild new file mode 100644 index 000000000000..29bee0226421 --- /dev/null +++ b/x11-terms/xvt/xvt-2.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/xvt/xvt-2.1.ebuild,v 1.1 2003/11/23 16:16:47 taviso Exp $ + +inherit ccc + +DESCRIPTION="A tiny (~40k) vt100 terminal emulator for X" +HOMEPAGE="ftp://ftp.x.org/R5contrib/xvt-1.0.README" +SRC_URI="ftp://ftp.x.org/R5contrib/xvt-1.0.tar.Z" +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86 ~alpha" +IUSE="" +DEPEND="virtual/x11" +S=${WORKDIR}/${PN}-1.0 + +src_unpack() { + unpack ${A} + + # this brings the distribution upto version 2.1 + cd ${S}; epatch ${FILESDIR}/xvt-2.1.diff.gz + + # set the makefile options + sed -i 's/#\(ARCH=LINUX\)/\1/g' Makefile + + # set CFLAGS + sed -i "s^\(CFLAGS=\)-O^\1${CFLAGS}^g" Makefile + + # add search path for X11 libs. + append-ldflags -L/usr/X11R6/lib + + # make gcc quiet. + sed -i -e 's/^void$/int/' -e 's/^void\( main\)/int\1/g' xvt.c +} + +src_compile() { + # emake -j1 config + emake || die +} + +src_install() { + dobin xvt + doman xvt.1 + dodoc README COPYING +} |