Files
gentoo-zh/dev-ruby/mruby/mruby-9999.ebuild
T

31 lines
617 B
Bash

# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit git-2
DESCRIPTION="mruby is the lightweight implementation of the Ruby language complying to (part of) the ISO standard."
HOMEPAGE="https://github.com/mruby/mruby"
SRC_URI=""
EGIT_REPO_URI="git://github.com/mruby/mruby.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
sys-devel/bison
dev-lang/ruby"
src_install() {
dobin bin/{mirb,mrbc,mruby}
dolib.a build/host/lib/{libmruby.a,libmruby_core.a}
insinto /usr/include/
doins -r include/{mrbconf.h,mruby,mruby.h}
exeinto /usr/include
}