New package: RandomX-1.1.6

This commit is contained in:
Helmut Pozimski 2019-11-05 13:22:58 +01:00
parent fcea792a56
commit 630bbcc4f1

22
srcpkgs/RandomX/template Normal file
View file

@ -0,0 +1,22 @@
# Template file for 'RandomX'
pkgname=RandomX
version=1.1.6
revision=1
build_style=cmake
short_desc="Proof of work algorithm based on random code execution"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="BSD-3-Clause"
homepage="https://github.com/tevador/RandomX"
distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
checksum=cf7946ff5f53401f24146e1472ec54f02338729147fdae091c831920acc390bb
case $XBPS_TARGET_MACHINE in
arm*|aarch64*|ppc)
CFLAGS="-Wl,-latomic"
makedepends="libatomic-devel"
;;
esac
post_install() {
vlicense LICENSE
}