35 lines
688 B
Bash
35 lines
688 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
inherit eutils multilib
|
|
|
|
MY_PN="MoarVM"
|
|
|
|
DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
|
|
HOMEPAGE="http://moarvm.org"
|
|
SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
|
|
LICENSE="Artistic-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="doc"
|
|
|
|
RDEPEND="dev-libs/libuv
|
|
dev-libs/libtommath
|
|
dev-libs/libatomic_ops
|
|
dev-libs/libuv
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
dev-lang/perl"
|
|
|
|
S="${WORKDIR}/MoarVM-${PV}"
|
|
|
|
src_configure() {
|
|
perl Configure.pl --prefix="/usr" --has-libtommath --has-libatomic_ops --has-libuv || die
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install
|
|
}
|