1 |
commit: b87b3f720d503039e539426b88b97d59881001e7 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 28 19:39:19 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 28 19:39:19 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=b87b3f72 |
7 |
|
8 |
dev-ruby/vmstat: Initial version |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-ruby/vmstat/Manifest | 1 + |
13 |
dev-ruby/vmstat/metadata.xml | 8 ++++++++ |
14 |
dev-ruby/vmstat/vmstat-2.2.0.ebuild | 30 ++++++++++++++++++++++++++++++ |
15 |
3 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/vmstat/Manifest b/dev-ruby/vmstat/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..26c87a0 |
20 |
--- /dev/null |
21 |
+++ b/dev-ruby/vmstat/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST vmstat-2.2.0.gem 26112 SHA256 c085f1d90249145112cba69447730d68964d79408eb8704bdeb2ef57aa721482 SHA512 8be4db41bc581d07c128ded193d26f6a8aba211b7122b54bf20e10f1fdf141f70d935eb00fb45dd2a45512a442c968986361d7ae143bd3488d2b3347b44f5c5e WHIRLPOOL 03cbf8af2d1c9996ab5bf99ad117e90e4bbe6ce5612f30cf0e5d44cab5d70da050c5fcbba0fdfd7ab8ca5c3600225fd15d09c375dbc356a5b063fe68cb480c18 |
24 |
|
25 |
diff --git a/dev-ruby/vmstat/metadata.xml b/dev-ruby/vmstat/metadata.xml |
26 |
new file mode 100644 |
27 |
index 0000000..97df2a0 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/vmstat/metadata.xml |
30 |
@@ -0,0 +1,8 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>mrueg@g.o</email> |
36 |
+ <name>Manuel Rüger</name> |
37 |
+ </maintainer> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/dev-ruby/vmstat/vmstat-2.2.0.ebuild b/dev-ruby/vmstat/vmstat-2.2.0.ebuild |
41 |
new file mode 100644 |
42 |
index 0000000..ae645ca |
43 |
--- /dev/null |
44 |
+++ b/dev-ruby/vmstat/vmstat-2.2.0.ebuild |
45 |
@@ -0,0 +1,30 @@ |
46 |
+# Copyright 1999-2016 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+# $Id$ |
49 |
+ |
50 |
+EAPI=5 |
51 |
+ |
52 |
+USE_RUBY="ruby21 ruby22 ruby23" |
53 |
+RUBY_FAKEGEM_TASK_DOC="" |
54 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec" |
55 |
+ |
56 |
+inherit multilib ruby-fakegem |
57 |
+ |
58 |
+DESCRIPTION="Library to gather memory, cpu, network, load avg and disk information" |
59 |
+HOMEPAGE="https://rubygems.org/gems/vmstat http://threez.github.com/ruby-vmstat/" |
60 |
+ |
61 |
+LICENSE="MIT" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="~amd64" |
64 |
+IUSE="" |
65 |
+ |
66 |
+ruby_add_bdepend "test? ( dev-ruby/timecop )" |
67 |
+ |
68 |
+each_ruby_configure() { |
69 |
+ ${RUBY} -Cext/${PN} extconf.rb || die |
70 |
+} |
71 |
+ |
72 |
+each_ruby_compile() { |
73 |
+ emake V=1 -Cext/${PN} |
74 |
+ cp ext/${PN}/${PN}$(get_modname) lib/${PN} || die |
75 |
+} |