void-packages/srcpkgs/RandomX/template

20 lines
561 B
Bash

# Template file for 'RandomX'
pkgname=RandomX
version=1.1.7
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=31741ede58267c84c1223370a4d18e32fad26a9652371d36da7e45c0c584ae1a
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
CFLAGS+=" -Wl,-latomic"
makedepends="libatomic-devel"
fi
post_install() {
vlicense LICENSE
}