public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/uasm/
@ 2024-02-26 17:49 Nickolas Raymond Kaczynski
  0 siblings, 0 replies; 2+ messages in thread
From: Nickolas Raymond Kaczynski @ 2024-02-26 17:49 UTC (permalink / raw
  To: gentoo-commits

commit:     2e6dc534cf743f24a2ed122d000b757a5f7f2b14
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Feb 24 15:16:30 2024 +0000
Commit:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
CommitDate: Mon Feb 26 17:45:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e6dc534

dev-lang/uasm: new package

Signed-off-by: NRK <nrk <AT> disroot.org>

 dev-lang/uasm/Manifest           |  1 +
 dev-lang/uasm/metadata.xml       | 10 ++++++++++
 dev-lang/uasm/uasm-2.56.2.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+)

diff --git a/dev-lang/uasm/Manifest b/dev-lang/uasm/Manifest
new file mode 100644
index 0000000000..bb9b666ccf
--- /dev/null
+++ b/dev-lang/uasm/Manifest
@@ -0,0 +1 @@
+DIST uasm-2.56.2.tar.gz 1243830 BLAKE2B dcc0948d92cdd5972a6698e721a6ccc6a54926ef94778438cf9a88a6e41ebc652d5230003f689d4278bd1e48959dd04595c602427287a48c551d7b847be665f0 SHA512 1f6c1037909d012f3293985c4e0516f4b61497de23cac6bbb58db735efb512599c0bba5d60d8ce999e6afc57e44484a094bf10f0ee185a51afd826f5541c9337

diff --git a/dev-lang/uasm/metadata.xml b/dev-lang/uasm/metadata.xml
new file mode 100644
index 0000000000..9ceaa24387
--- /dev/null
+++ b/dev-lang/uasm/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>nrk@disroot.org</email>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">Terraspace/UASM</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-lang/uasm/uasm-2.56.2.ebuild b/dev-lang/uasm/uasm-2.56.2.ebuild
new file mode 100644
index 0000000000..911bc83151
--- /dev/null
+++ b/dev-lang/uasm/uasm-2.56.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="UASM is a free MASM-compatible assembler"
+HOMEPAGE="https://www.terraspace.co.uk/uasm.html"
+SRC_URI="https://github.com/Terraspace/UASM/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Watcom-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=""
+DEPEND=""
+BDEPEND=""
+S="${WORKDIR}/UASM-${PV}"
+
+src_prepare() {
+	default
+	# don't strip binary
+	sed -i gccLinux64.mak -e 's/ -s / /g' || die
+}
+
+src_compile() {
+	# -fcommon: https://github.com/Terraspace/UASM/issues/143
+	emake -f gccLinux64.mak CC="$(tc-getCC)" \
+		CFLAGS="${CFLAGS} -fcommon" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+	dobin GccUnixR/uasm
+	dodoc *.txt Doc/*.txt
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/uasm/
@ 2024-02-26 17:49 Nickolas Raymond Kaczynski
  0 siblings, 0 replies; 2+ messages in thread
From: Nickolas Raymond Kaczynski @ 2024-02-26 17:49 UTC (permalink / raw
  To: gentoo-commits

commit:     68c75128c03373ec97181652fdfd9203c9fc71c7
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Feb 24 15:49:14 2024 +0000
Commit:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
CommitDate: Mon Feb 26 17:45:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68c75128

dev-lang/uasm: use append-cflags

Signed-off-by: NRK <nrk <AT> disroot.org>

 dev-lang/uasm/uasm-2.56.2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-lang/uasm/uasm-2.56.2.ebuild b/dev-lang/uasm/uasm-2.56.2.ebuild
index 911bc83151..dab3f1d2df 100644
--- a/dev-lang/uasm/uasm-2.56.2.ebuild
+++ b/dev-lang/uasm/uasm-2.56.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit toolchain-funcs flag-o-matic
 
 DESCRIPTION="UASM is a free MASM-compatible assembler"
 HOMEPAGE="https://www.terraspace.co.uk/uasm.html"
@@ -25,9 +25,9 @@ src_prepare() {
 }
 
 src_compile() {
-	# -fcommon: https://github.com/Terraspace/UASM/issues/143
+	append-cflags -fcommon  # Bug: https://github.com/Terraspace/UASM/issues/143
 	emake -f gccLinux64.mak CC="$(tc-getCC)" \
-		CFLAGS="${CFLAGS} -fcommon" LDFLAGS="${LDFLAGS}"
+		CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-26 17:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 17:49 [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/uasm/ Nickolas Raymond Kaczynski
  -- strict thread matches above, loose matches on Subject: below --
2024-02-26 17:49 Nickolas Raymond Kaczynski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox