commit: e512c8358da0d2bd9150ead9c2bb2ead3258726b Author: Theo Anderson <telans <AT> posteo <DOT> de> AuthorDate: Tue Dec 29 08:43:38 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Tue Dec 29 10:35:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e512c835
dev-libs/randomx: new package 1.1.8 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans <AT> posteo.de> dev-libs/randomx/Manifest | 1 + dev-libs/randomx/metadata.xml | 8 ++++++++ dev-libs/randomx/randomx-1.1.8.ebuild | 21 +++++++++++++++++++++ 3 files changed, 30 insertions(+) diff --git a/dev-libs/randomx/Manifest b/dev-libs/randomx/Manifest new file mode 100644 index 00000000..5821b398 --- /dev/null +++ b/dev-libs/randomx/Manifest @@ -0,0 +1 @@ +DIST randomx-1.1.8.tar.gz 163477 BLAKE2B 482f38a7e9f7b03ec5bd40ff923a1a1e575ed0c30431dcbecfe1072cdb10ccc93b61cf9d2177f4549e284125e17386e0314cb39734b22dc150193bd5d28bb813 SHA512 f41f13ba7b979a969e9d60e6c44cf289802e7459d6d817a64377428c3e833ea2f71a8a1e6559682ecc0ec2a33f958bb5b727d7faa28cb6ff69a524d713969bce diff --git a/dev-libs/randomx/metadata.xml b/dev-libs/randomx/metadata.xml new file mode 100644 index 00000000..55a6008a --- /dev/null +++ b/dev-libs/randomx/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Theo Anderson</name> + </maintainer> +</pkgmetadata> diff --git a/dev-libs/randomx/randomx-1.1.8.ebuild b/dev-libs/randomx/randomx-1.1.8.ebuild new file mode 100644 index 00000000..0a1174e3 --- /dev/null +++ b/dev-libs/randomx/randomx-1.1.8.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} \ No newline at end of file
