From: "Nickolas Raymond Kaczynski" <nrk@disroot.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/uasm/
Date: Mon, 26 Feb 2024 17:49:46 +0000 (UTC) [thread overview]
Message-ID: <1708969501.2e6dc534cf743f24a2ed122d000b757a5f7f2b14.nrk@gentoo> (raw)
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
+}
next reply other threads:[~2024-02-26 17:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-26 17:49 Nickolas Raymond Kaczynski [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-26 17:49 [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/uasm/ Nickolas Raymond Kaczynski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1708969501.2e6dc534cf743f24a2ed122d000b757a5f7f2b14.nrk@gentoo \
--to=nrk@disroot.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox