summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2015-04-04 11:20:46 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2015-04-04 11:20:46 +0200
commit0ed2db4b319675855f0d61dc273494653659ecf9 (patch)
treee6d818b603b1c96996767be4c3292e0a1ca5e7ee
parent683fcf6cabafa628ace30930c5e4ea0fdc8d5c0b (diff)
downloadgentoo-overlay-0ed2db4b319675855f0d61dc273494653659ecf9.tar.gz
gentoo-overlay-0ed2db4b319675855f0d61dc273494653659ecf9.tar.bz2
gentoo-overlay-0ed2db4b319675855f0d61dc273494653659ecf9.tar.xz
gentoo-overlay-0ed2db4b319675855f0d61dc273494653659ecf9.zip
Import mruby ebuild.
-rw-r--r--dev-ruby/mruby/mruby-1.1.0.ebuild25
-rw-r--r--profiles/categories1
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/mruby/mruby-1.1.0.ebuild b/dev-ruby/mruby/mruby-1.1.0.ebuild
new file mode 100644
index 0000000..65240e8
--- /dev/null
+++ b/dev-ruby/mruby/mruby-1.1.0.ebuild
@@ -0,0 +1,25 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+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="https://github.com/mruby/mruby/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+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}
+}
diff --git a/profiles/categories b/profiles/categories
index 2453191..4b2ffac 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -1,4 +1,5 @@
dev-libs
+dev-ruby
games-engines
media-sound
net-im