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

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