summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/zmac')
-rw-r--r--dev-embedded/zmac/Manifest1
-rw-r--r--dev-embedded/zmac/metadata.xml16
-rw-r--r--dev-embedded/zmac/zmac-1.3.ebuild29
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-embedded/zmac/Manifest b/dev-embedded/zmac/Manifest
new file mode 100644
index 00000000000..d7ea68508ee
--- /dev/null
+++ b/dev-embedded/zmac/Manifest
@@ -0,0 +1 @@
+DIST zmac13.zip 82067 SHA256 02cc3f487f82632ce558b512c482789cbc8f39bba8d8d3650a43c36c68f9aaff SHA512 84c1206e3abf19809ab4358c0b5d46771cdcfdeb4ded14aa39d81ca7f9d3780ca1917823bd06f49ee9fafaaa079bdbe8b614ce842d44181f55d4287515a187a2 WHIRLPOOL 8ee06662ecabc85a7a3ff5876c28144e1a7eaf6d1b3c68e24eca5ef8918539311261bedb705dcade90ab00bf8e29f1b1f836a191017d3dc64f2c0bc215bd4e5a
diff --git a/dev-embedded/zmac/metadata.xml b/dev-embedded/zmac/metadata.xml
new file mode 100644
index 00000000000..8a1942bec22
--- /dev/null
+++ b/dev-embedded/zmac/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>ulm@gentoo.org</email>
+</maintainer>
+<longdescription>
+ zmac is a Z80 macro cross-assembler. It has all the features you'd expect.
+ It assembles the specified input file and produces raw binary output.
+ (It can optionally produce CP/M-style Intel hex format.) By default it
+ also produces a nicely-formatted listing of the m/c alongside the source.
+
+ As well as normal Z80 programs, zmac lets you write 8080 programs in Z80
+ assembly.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-embedded/zmac/zmac-1.3.ebuild b/dev-embedded/zmac/zmac-1.3.ebuild
new file mode 100644
index 00000000000..9f503592117
--- /dev/null
+++ b/dev-embedded/zmac/zmac-1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit toolchain-funcs
+
+DESCRIPTION="Z80 macro cross-assembler"
+HOMEPAGE="http://www.tim-mann.org/trs80resources.html"
+SRC_URI="http://www.tim-mann.org/trs80/${PN}${PV//.}.zip"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S="${WORKDIR}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" || die
+}
+
+src_install() {
+ dobin zmac || die
+ doman zmac.1 || die
+ dodoc ChangeLog MAXAM NEWS README || die
+}