commit: a2b92de7fa71782d6f4e25590e78bba2a2b340c9 Author: James Beddek <telans <AT> posteo <DOT> de> AuthorDate: Mon Oct 4 07:18:29 2021 +0000 Commit: Theo Anderson <telans <AT> posteo <DOT> de> CommitDate: Mon Oct 4 07:18:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2b92de7
dev-libs/randomx: add 1.1.9 Signed-off-by: James Beddek <telans <AT> posteo.de> dev-libs/randomx/Manifest | 1 + dev-libs/randomx/randomx-1.1.9.ebuild | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/dev-libs/randomx/Manifest b/dev-libs/randomx/Manifest index 5821b398e..a14ac8298 100644 --- a/dev-libs/randomx/Manifest +++ b/dev-libs/randomx/Manifest @@ -1 +1,2 @@ DIST randomx-1.1.8.tar.gz 163477 BLAKE2B 482f38a7e9f7b03ec5bd40ff923a1a1e575ed0c30431dcbecfe1072cdb10ccc93b61cf9d2177f4549e284125e17386e0314cb39734b22dc150193bd5d28bb813 SHA512 f41f13ba7b979a969e9d60e6c44cf289802e7459d6d817a64377428c3e833ea2f71a8a1e6559682ecc0ec2a33f958bb5b727d7faa28cb6ff69a524d713969bce +DIST randomx-1.1.9.tar.gz 163669 BLAKE2B 41a665061c438c335825abfdf8fbde7f0c8a910fcca22e47babd015120b675378ad04afdc602f2b8e41cc6030ea6caa6298a27bce634034e95b5657d4ea06492 SHA512 89e0541bc849db270672acd7210a6c7109e4ca07765e6e656229ff8867792bfae933ee85b0aa4545dc3cf0c6515140ab782c8e231af17a82610718a80458c420 diff --git a/dev-libs/randomx/randomx-1.1.9.ebuild b/dev-libs/randomx/randomx-1.1.9.ebuild new file mode 100644 index 000000000..1431d2374 --- /dev/null +++ b/dev-libs/randomx/randomx-1.1.9.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="Proof of work algorithm based on random code execution" +HOMEPAGE="https://github.com/tevador/RandomX" +SRC_URI="https://github.com/tevador/RandomX/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +S="${WORKDIR}"/RandomX-${PV} + +src_configure() { + append-ldflags -Wl,-z,noexecstack + cmake_src_configure +}