void-packages/srcpkgs/MoarVM/template

22 lines
712 B
Bash

# Template build file for 'MoarVM'.
pkgname=MoarVM
version=2018.01
revision=1
build_style=configure
configure_script="perl Configure.pl"
configure_args="--prefix=/usr --has-libuv --has-libatomic_ops --has-libffi"
hostmakedepends="perl"
makedepends="libuv-devel libatomic_ops-devel libffi-devel"
short_desc="MoarVM is a virtual machine for Rakudo Perl 6"
maintainer="Ruslan <axetwe@gmail.com>"
homepage="http://moarvm.com"
license="Artistic-2.0"
distfiles="http://moarvm.org/releases/MoarVM-${version}.tar.gz"
nocross="yes"
shlib_provides="libmoar.so"
checksum=8b5ecabcd0a4eff57c98187cbbc8c20f3da2f9a5fa23abf025b1850f0f495ba0
do_clean() {
rm -rf ${DESTDIR}/usr/include/libuv ${DESTDIR}/usr/include/libtommath
}