guru/dev-libs/randomx/randomx-1.1.8.ebuild
Andrew Ammerlaan bab587a007
dev-libs/randomx: add final line
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-03-28 11:36:29 +02:00

22 lines
504 B
Bash

# Copyright 1999-2021 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
}