summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2006-01-25 00:20:27 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2006-01-25 00:20:27 +0000
commit8c0d1d36daa1b7698188c60469695b4d9d93408f (patch)
tree6f88df9febdc4be249176fcb4f4d34dc87fc6381 /app-emulation
parentFixed missing jikes dependency. (diff)
downloadgentoo-2-8c0d1d36daa1b7698188c60469695b4d9d93408f.tar.gz
gentoo-2-8c0d1d36daa1b7698188c60469695b4d9d93408f.tar.bz2
gentoo-2-8c0d1d36daa1b7698188c60469695b4d9d93408f.zip
Make modular X friendly.
(Portage version: 2.0.54)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/xtrs/ChangeLog9
-rw-r--r--app-emulation/xtrs/Manifest4
-rw-r--r--app-emulation/xtrs/files/digest-xtrs-4.9-r12
-rw-r--r--app-emulation/xtrs/xtrs-4.9-r1.ebuild46
4 files changed, 58 insertions, 3 deletions
diff --git a/app-emulation/xtrs/ChangeLog b/app-emulation/xtrs/ChangeLog
index a0a581e5db4d..773bb910b57c 100644
--- a/app-emulation/xtrs/ChangeLog
+++ b/app-emulation/xtrs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/xtrs
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v 1.9 2005/08/07 12:56:11 hansmi Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v 1.10 2006/01/25 00:20:27 vanquirius Exp $
+
+*xtrs-4.9-r1 (25 Jan 2006)
+
+ 25 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> +xtrs-4.9-r1.ebuild:
+ Make modular X friendly.
07 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> xtrs-4.9.ebuild:
Stable on ppc.
diff --git a/app-emulation/xtrs/Manifest b/app-emulation/xtrs/Manifest
index c9386157f849..b8590d4dda77 100644
--- a/app-emulation/xtrs/Manifest
+++ b/app-emulation/xtrs/Manifest
@@ -1,4 +1,6 @@
-MD5 6eb272f88cdd1678808015e5fce8535e xtrs-4.9.ebuild 1359
MD5 6a6fdf970e2d1134291e198080776f88 ChangeLog 921
MD5 87c9c445c414fb24d688e0eda2d8363d files/digest-xtrs-4.9 119
+MD5 fa9a7f8158af481a7cf788d8f2ae60ec files/digest-xtrs-4.9-r1 119
MD5 4bcbf9c6717042e4c3793af452ada659 files/xtrs-4.9-gentoo.diff 4318
+MD5 f531e1c1c101acf13de4251fc0ff6424 xtrs-4.9-r1.ebuild 1401
+MD5 6eb272f88cdd1678808015e5fce8535e xtrs-4.9.ebuild 1359
diff --git a/app-emulation/xtrs/files/digest-xtrs-4.9-r1 b/app-emulation/xtrs/files/digest-xtrs-4.9-r1
new file mode 100644
index 000000000000..17cff5415822
--- /dev/null
+++ b/app-emulation/xtrs/files/digest-xtrs-4.9-r1
@@ -0,0 +1,2 @@
+MD5 22dc427930e156315853e7bcef2cf1eb ld4-631.tar.gz 191393
+MD5 473d5c8c5461d49160d00c6a13f33071 xtrs-4.9.tar.gz 422910
diff --git a/app-emulation/xtrs/xtrs-4.9-r1.ebuild b/app-emulation/xtrs/xtrs-4.9-r1.ebuild
new file mode 100644
index 000000000000..dc73a28105cf
--- /dev/null
+++ b/app-emulation/xtrs/xtrs-4.9-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/xtrs-4.9-r1.ebuild,v 1.1 2006/01/25 00:20:27 vanquirius Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="RadioShack TRS80 Emulator, inc. FreeWare ROM & LDOS Image"
+HOMEPAGE="http://www.tim-mann.org/trs80.html"
+SRC_URI="http://home.gwi.net/~plemon/sources/${P}.tar.gz
+ http://home.gwi.net/~plemon/support/disks/xtrs/ld4-631.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses
+ sys-libs/readline
+ || ( ( >=x11-libs/libX11-1.0.0 )
+ virtual/x11 )"
+
+src_unpack() {
+ ### make doesn't play nicely with the usual ${PREFIX} behaviour, but relies
+ ### on an external Makefile.local to set compiletime options, and default
+ ### behavious. we'll patch it here, to make our install sane.
+ unpack ${P}.tar.gz
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}/${P}-gentoo.diff"
+}
+
+src_compile() {
+ use ppc && echo "ENDIAN = -Dbig_endian" >> Makefile.local
+ emake DEBUG="${CFLAGS}" CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1
+ make install || die "make install failed"
+ dodoc README xtrsrom4p.README
+
+ # OSS rom images & an lsdos image
+ tar \
+ -C "${D}"/usr/share/xtrs/ \
+ --no-same-owner \
+ -zxvf "${DISTDIR}/ld4-631.tar.gz" || die "tar failed"
+}