diff --git a/dev-ruby/mruby/Manifest b/dev-ruby/mruby/Manifest new file mode 100644 index 0000000000..87775cb915 --- /dev/null +++ b/dev-ruby/mruby/Manifest @@ -0,0 +1,2 @@ +EBUILD mruby-9999.ebuild 617 SHA256 2f86db6b9fd026947e45f73653957bc448df6da425b2e2ecbabcb720963a0fb1 SHA512 bedbae7dcee90a65cce1032827e5bb9d7fb8863b99d865f7c409b40063e675274b526329dcaf8fe10b2bba655989dbc5fb31ad71ff7a605a8834db9d560cf50a WHIRLPOOL cc57c8f6851bc4b4e2657944163d20d6a30e1a187cf1359b9da83223c0275a568f9a640f9392dda53da0801c3089c5ef487772067f2e4632635c87bb0b020759 +MISC metadata.xml 689 SHA256 6fd0f4726c2e4e468c6c7d1dadd9722d1db6d150901f40a9e7f0f4f432d829bb SHA512 1afa3b1870fdd57e6830279962e7aa85938396f7daa16c6006c2a8a9ecc68f95e11e4ae77662f566ad6b35e6201ff00fe1253814392e2eb9ab2e8e39753dfab9 WHIRLPOOL 03e5db03187c2f711b7b637c132972937b0c100ba90bb07232324980d4ed407b568c3d8beacaf5412de61a9b5d8bada20505ebbeaca5b0ae3e267790e49fa27a diff --git a/dev-ruby/mruby/metadata.xml b/dev-ruby/mruby/metadata.xml new file mode 100644 index 0000000000..d22d20c0b6 --- /dev/null +++ b/dev-ruby/mruby/metadata.xml @@ -0,0 +1,11 @@ + + + + + loong0 + longlene@gmail.com + + + mruby is the lightweight implementation of the Ruby language complying to (part of) the ISO standard. mruby can be linked and embedded within your application. We provide the interpreter program "mruby" and the interactive mruby shell "mirb" as examples. You can also compile Ruby programs into compiled byte code using the mruby compiler "mrbc". The "mrbc" is also able to generate compiled byte code in a C source file. + + diff --git a/dev-ruby/mruby/mruby-9999.ebuild b/dev-ruby/mruby/mruby-9999.ebuild new file mode 100644 index 0000000000..5d4d1c9bbc --- /dev/null +++ b/dev-ruby/mruby/mruby-9999.ebuild @@ -0,0 +1,30 @@ +# 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 +}