# Template build file for 'MoarVM'.
pkgname=MoarVM
version=2016.07
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=6b78e25a5399744d3e6dc98e896849234dab1760cd618c07cf94a50caac06a6f

do_clean() {
	rm -rf ${DESTDIR}/usr/include/libuv ${DESTDIR}/usr/include/libtommath
}
