mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
1
dev-lang/uasm/Manifest
Normal file
1
dev-lang/uasm/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST uasm-2.56.2.tar.gz 1243830 BLAKE2B dcc0948d92cdd5972a6698e721a6ccc6a54926ef94778438cf9a88a6e41ebc652d5230003f689d4278bd1e48959dd04595c602427287a48c551d7b847be665f0 SHA512 1f6c1037909d012f3293985c4e0516f4b61497de23cac6bbb58db735efb512599c0bba5d60d8ce999e6afc57e44484a094bf10f0ee185a51afd826f5541c9337
|
||||
10
dev-lang/uasm/metadata.xml
Normal file
10
dev-lang/uasm/metadata.xml
Normal file
@@ -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>
|
||||
36
dev-lang/uasm/uasm-2.56.2.ebuild
Normal file
36
dev-lang/uasm/uasm-2.56.2.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user