summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Heidelberg <david@ixit.cz>2019-10-30 21:51:04 +0100
committerJames Le Cuirot <chewi@gentoo.org>2019-11-18 23:30:41 +0000
commitbf37fc7848e3369526f28fa199247173b014e120 (patch)
tree4b853b3342283ed07f93acca8be279172f391d61 /dev-embedded/xa
parentdev-vcs/tig: drop myself as a maintainer (diff)
downloadgentoo-bf37fc7848e3369526f28fa199247173b014e120.tar.gz
gentoo-bf37fc7848e3369526f28fa199247173b014e120.tar.bz2
gentoo-bf37fc7848e3369526f28fa199247173b014e120.zip
dev-embedded/xa: New package
Thanks to doj@cubic.org. Bug: https://bugs.gentoo.org/686234 Bug: https://github.com/gentoo/gentoo/pull/13504 Signed-off-by: David Heidelberg <david@ixit.cz> Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-embedded/xa')
-rw-r--r--dev-embedded/xa/Manifest1
-rw-r--r--dev-embedded/xa/files/xa-2.3.9-Makefile.patch18
-rw-r--r--dev-embedded/xa/metadata.xml14
-rw-r--r--dev-embedded/xa/xa-2.3.9.ebuild18
4 files changed, 51 insertions, 0 deletions
diff --git a/dev-embedded/xa/Manifest b/dev-embedded/xa/Manifest
new file mode 100644
index 000000000000..ef97dcae03dc
--- /dev/null
+++ b/dev-embedded/xa/Manifest
@@ -0,0 +1 @@
+DIST xa-2.3.9.tar.gz 151086 BLAKE2B 312d082bf18eebdcd41eb4127a035db5fe2b47121bceadf45aa06e515160cb9233742791447806ee057a1b4e3860ecddda3f85f76d0e9d672dcd00cb8a1871c4 SHA512 9e140192f7daae8b5042a01c81c85f6ec4e53c727fa5af624fbe94a8ce85fbf821a1ee94dc9c11e8087b08a4060010b989f95b77cbcd2b550ab552c3b5455dfe
diff --git a/dev-embedded/xa/files/xa-2.3.9-Makefile.patch b/dev-embedded/xa/files/xa-2.3.9-Makefile.patch
new file mode 100644
index 000000000000..d8db42615989
--- /dev/null
+++ b/dev-embedded/xa/files/xa-2.3.9-Makefile.patch
@@ -0,0 +1,18 @@
+--- a/Makefile.orig 2019-05-18 09:07:31.331089966 -0700
++++ b/Makefile 2019-05-18 09:10:15.274673364 -0700
+@@ -17,11 +17,11 @@
+ #CFLAGS =
+ #LD = ld
+
+-DESTDIR = /usr/local
++PREFIX ?= /usr
+
+-BINDIR = $(DESTDIR)/bin
+-MANDIR = $(DESTDIR)/share/man/man1
+-DOCDIR = $(DESTDIR)/share/doc
++BINDIR = $(DESTDIR)/$(PREFIX)/bin
++MANDIR = $(DESTDIR)/$(PREFIX)/share/man/man1
++DOCDIR = $(DESTDIR)/$(PREFIX)/share/doc
+
+ MKDIR = mkdir -p
+ INSTALL = install
diff --git a/dev-embedded/xa/metadata.xml b/dev-embedded/xa/metadata.xml
new file mode 100644
index 000000000000..78ab730110bc
--- /dev/null
+++ b/dev-embedded/xa/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <longdescription>
+ xa is a high-speed, two-pass portable cross-assembler. It
+ understands mnemonics and generates code for NMOS 6502s (such as
+ 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...), CMOS 6502s
+ (65C02 and Rockwell R65C02) and the 65816.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-embedded/xa/xa-2.3.9.ebuild b/dev-embedded/xa/xa-2.3.9.ebuild
new file mode 100644
index 000000000000..9c585f7bea74
--- /dev/null
+++ b/dev-embedded/xa/xa-2.3.9.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="xa high-speed, two-pass portable 6502 cross-assembler"
+HOMEPAGE="https://www.floodgap.com/retrotech/xa/"
+SRC_URI="https://www.floodgap.com/retrotech/${PN}/dists/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+ "${FILESDIR}/${P}-Makefile.patch"
+)