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
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')
-rw-r--r--dev-embedded/xa/Manifest2
-rw-r--r--dev-embedded/xa/files/xa-2.3.9-Makefile.patch18
-rw-r--r--dev-embedded/xa/xa-2.3.10.ebuild27
-rw-r--r--dev-embedded/xa/xa-2.3.9.ebuild18
4 files changed, 28 insertions, 37 deletions
diff --git a/dev-embedded/xa/Manifest b/dev-embedded/xa/Manifest
index ef97dcae03dc..0066fff628ec 100644
--- a/dev-embedded/xa/Manifest
+++ b/dev-embedded/xa/Manifest
@@ -1 +1 @@
-DIST xa-2.3.9.tar.gz 151086 BLAKE2B 312d082bf18eebdcd41eb4127a035db5fe2b47121bceadf45aa06e515160cb9233742791447806ee057a1b4e3860ecddda3f85f76d0e9d672dcd00cb8a1871c4 SHA512 9e140192f7daae8b5042a01c81c85f6ec4e53c727fa5af624fbe94a8ce85fbf821a1ee94dc9c11e8087b08a4060010b989f95b77cbcd2b550ab552c3b5455dfe
+DIST xa-2.3.10.tar.gz 152433 BLAKE2B af9ab28e6596f6c96abd075779670955e7bfe79b3e9e18c5c75f35ffb166c705a0ebb60dcca1928c49a836eefcd7b15d12437579fbe645c0b5ce51e81da92d8d SHA512 08b9994e295495744d5252fa983b111f41d0447cdb32d0c065f8fbd942ffa0899476d6cfebe1162e4aa08b1d0a2d8df74c2a60987d2509b8bca45da670f4a67f
diff --git a/dev-embedded/xa/files/xa-2.3.9-Makefile.patch b/dev-embedded/xa/files/xa-2.3.9-Makefile.patch
deleted file mode 100644
index d8db42615989..000000000000
--- a/dev-embedded/xa/files/xa-2.3.9-Makefile.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- 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/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
+}
diff --git a/dev-embedded/xa/xa-2.3.9.ebuild b/dev-embedded/xa/xa-2.3.9.ebuild
deleted file mode 100644
index 9c585f7bea74..000000000000
--- a/dev-embedded/xa/xa-2.3.9.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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"
-)