summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-shadow')
-rw-r--r--dev-ruby/ruby-shadow/Manifest2
-rw-r--r--dev-ruby/ruby-shadow/metadata.xml8
-rw-r--r--dev-ruby/ruby-shadow/ruby-shadow-2.3.4.ebuild32
-rw-r--r--dev-ruby/ruby-shadow/ruby-shadow-2.4.1.ebuild32
4 files changed, 74 insertions, 0 deletions
diff --git a/dev-ruby/ruby-shadow/Manifest b/dev-ruby/ruby-shadow/Manifest
new file mode 100644
index 000000000000..405e2cc1fa40
--- /dev/null
+++ b/dev-ruby/ruby-shadow/Manifest
@@ -0,0 +1,2 @@
+DIST ruby-shadow-2.3.4.gem 10752 SHA256 3742a3dbe1100276bde815e8ad8d54eb041d4085f3013a31deb5e038d12e93e8 SHA512 30a626638d09da34273ac414c1716ebecc6112328a72adabaf3f31c99717630f7499a33d3ddf106c533a90775604a8038ea270ec6afccbf88adb3a8be7f6025b WHIRLPOOL 3449a1206aa39f76a5021afbea1f94fe11a585e16f9a7a89e74da7bdba6dafc63f8d8874f239cb8d14399d01a4819e074930b647e4d9bcbf812cec37d4d458cd
+DIST ruby-shadow-2.4.1.gem 10752 SHA256 b335c8de1ac85e67e6d9013a0fa2d2f2a890e0b75fb38cf18ffa4cf62197f1af SHA512 a59006b17b290dccd33e33089f2cc9e714e119b867370cf0fb448e659a769e958897f24e2068a7a3699156ad580f2222b63b281a94221c57874b42836f075907 WHIRLPOOL da8c2d78d2a98c5fb24c1c018915e3aee7ecdef967da85595e4a675affe47508b80f110255ad2496921fe7439f9fcd234b971fc35be1e20c1f6d28b415e40dab
diff --git a/dev-ruby/ruby-shadow/metadata.xml b/dev-ruby/ruby-shadow/metadata.xml
new file mode 100644
index 000000000000..3a4ce18b860a
--- /dev/null
+++ b/dev-ruby/ruby-shadow/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ruby</herd>
+ <upstream>
+ <remote-id type="github">apalmblad/ruby-shadow</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/ruby-shadow/ruby-shadow-2.3.4.ebuild b/dev-ruby/ruby-shadow/ruby-shadow-2.3.4.ebuild
new file mode 100644
index 000000000000..582e4182ebdf
--- /dev/null
+++ b/dev-ruby/ruby-shadow/ruby-shadow-2.3.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="HISTORY README README.euc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="ruby shadow bindings"
+HOMEPAGE="https://github.com/apalmblad/ruby-shadow http://ttsky.net"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc sparc x86"
+IUSE=""
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die "Configuration failed."
+ sed -i -e "/^ldflags =/s/$/ \$(LDFLAGS)/" Makefile || die
+}
+
+each_ruby_compile() {
+ emake V=1
+ mkdir -p lib
+ cp shadow$(get_modname) lib/ || die
+}
diff --git a/dev-ruby/ruby-shadow/ruby-shadow-2.4.1.ebuild b/dev-ruby/ruby-shadow/ruby-shadow-2.4.1.ebuild
new file mode 100644
index 000000000000..1f17a97a47e2
--- /dev/null
+++ b/dev-ruby/ruby-shadow/ruby-shadow-2.4.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="HISTORY README README.euc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="ruby shadow bindings"
+HOMEPAGE="https://github.com/apalmblad/ruby-shadow http://ttsky.net"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die "Configuration failed."
+ sed -i -e "/^ldflags =/s/$/ \$(LDFLAGS)/" Makefile || die
+}
+
+each_ruby_compile() {
+ emake V=1
+ mkdir -p lib
+ cp shadow$(get_modname) lib/ || die
+}