commit:     74d5d2f5bf743969ddf411ea80737e499d796be9
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 15 10:16:37 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Dec 15 10:16:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d5d2f5

dev-lang/jwasm: bump up to 2.13

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-lang/jwasm/Manifest          |  1 +
 dev-lang/jwasm/jwasm-2.13.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-lang/jwasm/Manifest b/dev-lang/jwasm/Manifest
index 7d2a3a7b7f2..2c422cbd880 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 00000000000..6216a512fe9
--- /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
+}

Reply via email to