From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5444A158043 for ; Mon, 26 Feb 2024 17:49:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9BD272BC023; Mon, 26 Feb 2024 17:49:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85F8E2BC01A for ; Mon, 26 Feb 2024 17:49:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B082F33BEB9 for ; Mon, 26 Feb 2024 17:49:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F18E144C for ; Mon, 26 Feb 2024 17:49:46 +0000 (UTC) From: "Nickolas Raymond Kaczynski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nickolas Raymond Kaczynski" Message-ID: <1708969501.2e6dc534cf743f24a2ed122d000b757a5f7f2b14.nrk@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/uasm/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-lang/uasm/Manifest dev-lang/uasm/metadata.xml dev-lang/uasm/uasm-2.56.2.ebuild X-VCS-Directories: dev-lang/uasm/ X-VCS-Committer: nrk X-VCS-Committer-Name: Nickolas Raymond Kaczynski X-VCS-Revision: 2e6dc534cf743f24a2ed122d000b757a5f7f2b14 X-VCS-Branch: dev Date: Mon, 26 Feb 2024 17:49:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 09b062f5-f457-4f46-bf29-66eec2dc6a23 X-Archives-Hash: 1e1eac8171d9fa9a4b3b36c02a83ab64 commit: 2e6dc534cf743f24a2ed122d000b757a5f7f2b14 Author: NRK disroot org> AuthorDate: Sat Feb 24 15:16:30 2024 +0000 Commit: Nickolas Raymond Kaczynski disroot 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 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 @@ + + + + + nrk@disroot.org + + + Terraspace/UASM + + 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 +}