From 630bbcc4f1ccf51c928d8bac5cc7064a14995924 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Tue, 5 Nov 2019 13:22:58 +0100 Subject: [PATCH] New package: RandomX-1.1.6 --- srcpkgs/RandomX/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/RandomX/template diff --git a/srcpkgs/RandomX/template b/srcpkgs/RandomX/template new file mode 100644 index 00000000000..fac31330890 --- /dev/null +++ b/srcpkgs/RandomX/template @@ -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 " +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 +}