1 |
commit: 5d7a4077ec80fdba320d7a8fd09fd6d708e93e2f |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 23 11:38:39 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 24 06:37:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7a4077 |
7 |
|
8 |
dev-ruby/uconv: add ruby30 |
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/uconv/uconv-0.6.1-r3.ebuild | 37 ++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/uconv/uconv-0.6.1-r3.ebuild b/dev-ruby/uconv/uconv-0.6.1-r3.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..8af5f475d2da |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/uconv/uconv-0.6.1-r3.ebuild |
21 |
@@ -0,0 +1,37 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+USE_RUBY="ruby26 ruby27 ruby30" |
27 |
+ |
28 |
+inherit ruby-ng |
29 |
+ |
30 |
+DESCRIPTION="A module to convert ISO/IEC 10646 (Unicode) string and Japanese strings" |
31 |
+HOMEPAGE="http://www.yoshidam.net/Ruby.html#uconv" |
32 |
+SRC_URI="http://www.yoshidam.net/${P}.tar.gz" |
33 |
+LICENSE="Ruby" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
36 |
+IUSE="" |
37 |
+ |
38 |
+RUBY_S=${PN} |
39 |
+ |
40 |
+all_ruby_prepare() { |
41 |
+ sed -i -e '/^\$CFLAGS = ""/d' extconf.rb || die "Unable to remove CFLAGS line" |
42 |
+} |
43 |
+ |
44 |
+each_ruby_configure() { |
45 |
+ ${RUBY} extconf.rb || die |
46 |
+} |
47 |
+ |
48 |
+each_ruby_compile() { |
49 |
+ emake V=1 |
50 |
+} |
51 |
+ |
52 |
+each_ruby_install() { |
53 |
+ emake V=1 DESTDIR="${D}" install |
54 |
+} |
55 |
+ |
56 |
+all_ruby_install() { |
57 |
+ dodoc README* |
58 |
+} |