diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-06-17 21:34:21 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-06-17 21:34:21 +0000 |
commit | 7ee090a30d65c1f8a64f25aad5b85df371c6ac0d (patch) | |
tree | 8fd5c1413de14f775926fe276fd251a9f93cd44b /app-emulation | |
parent | Clean up old revision. (diff) | |
download | gentoo-2-7ee090a30d65c1f8a64f25aad5b85df371c6ac0d.tar.gz gentoo-2-7ee090a30d65c1f8a64f25aad5b85df371c6ac0d.tar.bz2 gentoo-2-7ee090a30d65c1f8a64f25aad5b85df371c6ac0d.zip |
Version bump.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/xtrs/ChangeLog | 9 | ||||
-rw-r--r-- | app-emulation/xtrs/xtrs-4.9d.ebuild | 63 |
2 files changed, 70 insertions, 2 deletions
diff --git a/app-emulation/xtrs/ChangeLog b/app-emulation/xtrs/ChangeLog index ae0bf5c95906..dd6de286384f 100644 --- a/app-emulation/xtrs/ChangeLog +++ b/app-emulation/xtrs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/xtrs -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v 1.32 2009/04/27 13:24:48 lavajoe Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v 1.33 2009/06/17 21:34:21 ulm Exp $ + +*xtrs-4.9d (17 Jun 2009) + + 17 Jun 2009; Ulrich Mueller <ulm@gentoo.org> +xtrs-4.9d.ebuild: + Version bump. 27 Apr 2009; Joe Peterson <lavajoe@gentoo.org> xtrs-4.9c-r2: Set RDEPEND diff --git a/app-emulation/xtrs/xtrs-4.9d.ebuild b/app-emulation/xtrs/xtrs-4.9d.ebuild new file mode 100644 index 000000000000..7819be5dfcb5 --- /dev/null +++ b/app-emulation/xtrs/xtrs-4.9d.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/xtrs-4.9d.ebuild,v 1.1 2009/06/17 21:34:21 ulm Exp $ + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Radio Shack TRS-80 emulator" +HOMEPAGE="http://www.tim-mann.org/xtrs.html" +SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz + http://home.gwi.net/~plemon/support/disks/xtrs/ld4-631.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="sys-libs/ncurses + sys-libs/readline + >=x11-libs/libX11-1.0.0" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${P}.tar.gz + tar xzf "${DISTDIR}/ld4-631.tar.gz" disks || die "tar failed" +} + +src_compile() { + use ppc && append-flags -Dbig_endian + emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" \ + DISKDIR="-DDISKDIR='\"/usr/share/xtrs\"'" \ + DEFAULT_ROM="-DDEFAULT_ROM='\"/usr/share/xtrs/romimage\"' \ + -DDEFAULT_ROM3='\"/usr/share/xtrs/romimage.m3\"' \ + -DDEFAULT_ROM4P='\"/usr/share/xtrs/romimage.m4p\"'" \ + || die "emake failed" +} + +src_install() { + dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1 + emake PREFIX="${D}"/usr install || die "emake install failed" + + insopts -m0444 + insinto /usr/share/xtrs/disks + doins cpmutil.dsk utility.dsk "${WORKDIR}"/disks/ld4-631.dsk + dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0 + dosym disks/utility.dsk /usr/share/xtrs/disk4p-1 + + dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html \ + || die "dodoc failed" +} + +pkg_postinst() { + ewarn "For copyright reasons, xtrs does not include actual ROM images." + ewarn "Because of this, unless you supply your own ROM, xtrs will" + ewarn "not function in any mode except 'Model 4p' mode (a minimal" + ewarn "free ROM is included for this), which can be run like this:" + ewarn " xtrs -model 4p" + elog "" + elog "If you already own a copy of the ROM software (e.g., if you have" + elog "a TRS-80 with this ROM), then you can make yourself a copy of this" + elog "for use with xtrs using utilities available on the web. You can" + elog "also often find various ROMs elsewhere. To load your own ROM," + elog "specify the '-romfile' option." +} |