summaryrefslogtreecommitdiff
path: root/dev-ruby/sigar
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/sigar')
-rw-r--r--dev-ruby/sigar/Manifest5
-rw-r--r--dev-ruby/sigar/metadata.xml8
-rw-r--r--dev-ruby/sigar/sigar-0.7.3.ebuild33
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/sigar/Manifest b/dev-ruby/sigar/Manifest
new file mode 100644
index 000000000000..3e83b50f9f97
--- /dev/null
+++ b/dev-ruby/sigar/Manifest
@@ -0,0 +1,5 @@
+DIST sigar-0.7.3.gem 205312 SHA256 250a3bd8170f51bf377aa666d44ae08a321c655a2c63c14dffa41fe478308d88 SHA512 cdab3ec8b9662bfa3a432f0206c34c99c6e6e0ac5c85a93cb472367a9f325a27d5232bf2166f5c2955817e3ab8bd1035db06aad709ce20cc261f1b15d89dea2a WHIRLPOOL a1100575ebb4a3af65cea6949223e589f2c6279758dcf888578fc4d92b02267ed349fd564f0563982084e66a150d759e0ef7c848fad7b6b1dfe3889d1cbe97f2
+EBUILD sigar-0.7.3.ebuild 712 SHA256 bc256fee092f379a308d442740cd24e1e21dbe91b5aa7218552e81b03897d687 SHA512 974fee041a60659cc0f3c92a3195f3eea902a529829a7c7c42f8e5db8e32e5cf5b0e614c3a521a3761a6a556341583aa5ad86f9efd14ebdbbc6b9147b0c272dd WHIRLPOOL a8c0306651a87fa9e18e7f10842aea661215bb98c1359a507609fc69ff252f23b917f7ffe461e326f419e2070185d2f683032d6f49813e7fd20d564904297d95
+MISC ChangeLog 2805 SHA256 e1f714155678a821dff9f52db82cbd4ef2856a862b06a8c0cc25ec358a1e060c SHA512 a04d9621b9d7092a1136c14188774c5f159c2832d81b68be31a8a5ac1ed60ccc70cf29f252286e677230e8b3f79324cdbf969c1cb617a0e14d512b0d9198a595 WHIRLPOOL fb025a29fd4fae43f3cd79060ed61d17e194a4d025dcb7f3b28614a11562689b4937bb065ce3e33eae4e4298f6ea02128cfb279cd503557039fe35b1d067111d
+MISC ChangeLog-2015 1731 SHA256 8430f6d837dcff1429145d513e1c02655a08d58632ef8a616b6f333e75cd1afe SHA512 5c1dd4e0296005714495ad19bacfce0f95867d76d73afa342285423e19dfd6569c8d8d26f197c856acdb017fae7b21f6950f18a9861faf472ede4608cae1a570 WHIRLPOOL 5b87534a0d5104b0557a5f9dd38af70c05191122c0f718611c63296cd4441e09691e5832caadc3384b81eab5a1bcea85986076b6b5971c1c33fb3c38e8e4e147
+MISC metadata.xml 247 SHA256 1236c1552dc683658bd5bc3c5f880b71d9dfa13025edab4a0f8973f9eaa6bcf5 SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09 WHIRLPOOL c1aa829db3553d79fe71a8bf79fd6ea24e9fff4e591a4ade3c05e2a97b0df352170fbce76450c0402ec6d8998951c2f3eb3e198ac4638c0e0882208b9f4d8fc8
diff --git a/dev-ruby/sigar/metadata.xml b/dev-ruby/sigar/metadata.xml
new file mode 100644
index 000000000000..28ab0c15f206
--- /dev/null
+++ b/dev-ruby/sigar/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ruby/sigar/sigar-0.7.3.ebuild b/dev-ruby/sigar/sigar-0.7.3.ebuild
new file mode 100644
index 000000000000..724cfd327d53
--- /dev/null
+++ b/dev-ruby/sigar/sigar-0.7.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="System Information Gatherer And Reporter"
+HOMEPAGE="http://sigar.hyperic.com/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '25i$CFLAGS += " -std=gnu89"' bindings/ruby/extconf.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cbindings/ruby extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake -Cbindings/ruby V=1
+ mkdir lib || die
+ cp bindings/ruby/${PN}$(get_modname) lib/ || die
+}