void-packages/srcpkgs/MoarVM/template

22 lines
746 B
Bash

# Template build file for 'MoarVM'.
pkgname=MoarVM
version=2018.03
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>"
homepage="http://moarvm.com"
license="Artistic-2.0"
distfiles="http://moarvm.org/releases/MoarVM-${version}.tar.gz"
nocross="yes"
shlib_provides="libmoar.so"
checksum=100b18435bb82e479f08a53346950c08b7e7f89272f6c9d0ece048682ba82912
do_clean() {
rm -rf ${DESTDIR}/usr/include/libuv ${DESTDIR}/usr/include/libtommath
}