summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-11-18 23:27:07 +0000
committerJames Le Cuirot <chewi@gentoo.org>2019-11-18 23:33:08 +0000
commit05259b81cd70d1bf8974a072658c2029c622e49d (patch)
treec3e9eb553c3214a7ef8e4ebc90dc3c8e1c88072e /dev-embedded/xa/xa-2.3.10.ebuild
parentdev-embedded/xa: New package (diff)
downloadgentoo-05259b81cd70d1bf8974a072658c2029c622e49d.tar.gz
gentoo-05259b81cd70d1bf8974a072658c2029c622e49d.tar.bz2
gentoo-05259b81cd70d1bf8974a072658c2029c622e49d.zip
dev-embedded/xa: Bump to 2.3.10, drop 2.3.9, respect flags
Package-Manager: Portage-2.3.79, Repoman-2.3.17 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-embedded/xa/xa-2.3.10.ebuild')
-rw-r--r--dev-embedded/xa/xa-2.3.10.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-embedded/xa/xa-2.3.10.ebuild b/dev-embedded/xa/xa-2.3.10.ebuild
new file mode 100644
index 000000000000..0b4aabb57139
--- /dev/null
+++ b/dev-embedded/xa/xa-2.3.10.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="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"
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC) " \
+ CFLAGS="${CFLAGS} ${LDFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ emake install DESTDIR="${ED}/usr"
+ einstalldocs
+}