1 |
commit: e036c94f7edc6234e358a9394fd8043a43c7b683 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 24 09:19:00 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 24 10:25:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e036c94f |
7 |
|
8 |
dev-ruby/sigar: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/sigar/sigar-0.7.3.ebuild | 40 --------------------------------------- |
14 |
1 file changed, 40 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/sigar/sigar-0.7.3.ebuild b/dev-ruby/sigar/sigar-0.7.3.ebuild |
17 |
deleted file mode 100644 |
18 |
index 3b8f234f356f..000000000000 |
19 |
--- a/dev-ruby/sigar/sigar-0.7.3.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,40 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
-USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
27 |
- |
28 |
-RUBY_FAKEGEM_RECIPE_TEST="" |
29 |
-RUBY_FAKEGEM_TASK_DOC="" |
30 |
-RUBY_FAKEGEM_EXTRADOC="README" |
31 |
- |
32 |
-inherit multilib ruby-fakegem |
33 |
- |
34 |
-DESCRIPTION="System Information Gatherer And Reporter" |
35 |
-HOMEPAGE="http://sigar.hyperic.com/" |
36 |
- |
37 |
-LICENSE="Apache-2.0" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64 ~x86" |
40 |
-IUSE="" |
41 |
- |
42 |
-DEPEND+=" || ( <sys-libs/glibc-2.26 net-libs/libtirpc )" |
43 |
- |
44 |
-all_ruby_prepare() { |
45 |
- sed -i -e '25i$CFLAGS += " -std=gnu89 -I/usr/include/tirpc"' \ |
46 |
- -e '25i$LDFLAGS += " -ltirpc"' bindings/ruby/extconf.rb || die |
47 |
- |
48 |
- # Fix compatibility with glibc 2.25 |
49 |
- sed -i -e '26i#include <sys/sysmacros.h>' \ |
50 |
- -e '27i#include <ctype.h>' bindings/ruby/rbsigar.c src/os/linux/linux_sigar.c || die |
51 |
-} |
52 |
- |
53 |
-each_ruby_configure() { |
54 |
- ${RUBY} -Cbindings/ruby extconf.rb || die |
55 |
-} |
56 |
- |
57 |
-each_ruby_compile() { |
58 |
- emake -Cbindings/ruby V=1 |
59 |
- mkdir lib || die |
60 |
- cp bindings/ruby/${PN}$(get_modname) lib/ || die |
61 |
-} |