void-packages/srcpkgs/MoarVM/template

22 lines
746 B
Bash

# Template build file for 'MoarVM'.
pkgname=MoarVM
version=2018.02
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="libuv-devel libatomic_ops-devel libffi-devel libtommath-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=13ce2d99c5bfe2f95e1acc056f849d4d3047a544115beafa7f47abf3a1add2dd
do_clean() {
rm -rf ${DESTDIR}/usr/include/libuv ${DESTDIR}/usr/include/libtommath
}