From 74d5d2f5bf743969ddf411ea80737e499d796be9 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 15 Dec 2019 10:16:37 +0000 Subject: [PATCH] dev-lang/jwasm: bump up to 2.13 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich --- dev-lang/jwasm/Manifest | 1 + dev-lang/jwasm/jwasm-2.13.ebuild | 38 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-lang/jwasm/jwasm-2.13.ebuild diff --git a/dev-lang/jwasm/Manifest b/dev-lang/jwasm/Manifest index 7d2a3a7b7f2f..2c422cbd8801 100644 --- a/dev-lang/jwasm/Manifest +++ b/dev-lang/jwasm/Manifest @@ -1 +1,2 @@ +DIST 2.13.tar.gz 578365 BLAKE2B 8c6fbe3e6cb56c0fe8135c30c629534d2b6e2a2ed534249834e0e2674bf6635cb15ab94d4fa05c5378cb0db8569ddc3ba49d2d7c9615b7ddb769cba1a2d5b715 SHA512 03f80f4a74b39c6093f5cd5334364f7458836a52ad01279c95683e7053cb4211c40235e16f6f2ee40bc7316dcd8a4fbcb57bf3606d31249d96d01933a8aa0563 DIST JWasm211as.zip 1004993 BLAKE2B 725489690048b049c7fec5f2c54b89a746ee1c825d44e6f4f912f568b737c8ad996e55dba112132e685665b4d47aadd0324b2e9480d421c497bc21abbb85d015 SHA512 3e48e09955ccf8e641b36f54c93c3f36b275a0e662013a17dfd1f52a3e2872eff54be869596d0e72bdb2cc7e59c8fd1dee13477bf89a59bba4b212959cff9006 diff --git a/dev-lang/jwasm/jwasm-2.13.ebuild b/dev-lang/jwasm/jwasm-2.13.ebuild new file mode 100644 index 000000000000..6216a512fe90 --- /dev/null +++ b/dev-lang/jwasm/jwasm-2.13.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="MASM-compatible TASM-similar assembler (fork of Wasm)" +HOMEPAGE="https://github.com/JWasm/JWasm" +SRC_URI="https://github.com/JWasm/JWasm/archive/${PV}.tar.gz" +LICENSE="Watcom-1.0" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="" +DEPEND="" +BDEPEND="" + +S="${WORKDIR}/JWasm-${PV}" + +PATCHES=("${FILESDIR}"/${PN}-2.11-types-test.patch) + +src_prepare() { + default + + # don't strip binary + sed -i GccUnix.mak -e 's/ -s / /g' || die +} + +src_compile() { + emake -f GccUnix.mak CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" +} + +src_install() { + dobin GccUnixR/jwasm + dodoc *.txt Doc/*.txt +} -- 2.26.2