void-packages/srcpkgs/RandomX/template
2020-07-05 08:39:16 +02:00

20 lines
561 B
Bash

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