From bec54232f28f922e8f1146e6eeb0f4c8aced0133 Mon Sep 17 00:00:00 2001 From: Manuel Rüger Date: Fri, 4 Oct 2013 19:09:01 +0000 Subject: Add ruby20 target. (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key ) --- dev-ruby/uconv/ChangeLog | 7 ++++++- dev-ruby/uconv/uconv-0.6.1-r1.ebuild | 38 ++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 dev-ruby/uconv/uconv-0.6.1-r1.ebuild (limited to 'dev-ruby') diff --git a/dev-ruby/uconv/ChangeLog b/dev-ruby/uconv/ChangeLog index 6bd70f5e9a3a..e8e1683cc0ad 100644 --- a/dev-ruby/uconv/ChangeLog +++ b/dev-ruby/uconv/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/uconv # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uconv/ChangeLog,v 1.24 2013/09/05 12:35:00 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uconv/ChangeLog,v 1.25 2013/10/04 19:09:01 mrueg Exp $ + +*uconv-0.6.1-r1 (04 Oct 2013) + + 04 Oct 2013; Manuel Rüger +uconv-0.6.1-r1.ebuild: + Add ruby20 target. 05 Sep 2013; Agostino Sarubbo uconv-0.6.1.ebuild: Stable for ppc64, wrt bug #480982 diff --git a/dev-ruby/uconv/uconv-0.6.1-r1.ebuild b/dev-ruby/uconv/uconv-0.6.1-r1.ebuild new file mode 100644 index 000000000000..8bc4eb8262b7 --- /dev/null +++ b/dev-ruby/uconv/uconv-0.6.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uconv/uconv-0.6.1-r1.ebuild,v 1.1 2013/10/04 19:09:01 mrueg Exp $ + +EAPI=5 +USE_RUBY="ruby18 ruby19 ruby20" + +inherit ruby-ng + +DESCRIPTION="A module to convert ISO/IEC 10646 (Unicode) string and Japanese strings" +HOMEPAGE="http://www.yoshidam.net/Ruby.html#uconv" +SRC_URI="http://www.yoshidam.net/${P}.tar.gz" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S=${PN} + +all_ruby_prepare() { + sed -i -e '/^\$CFLAGS = ""/d' extconf.rb || die "Unable to remove CFLAGS line" +} + +each_ruby_configure() { + ${RUBY} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 +} + +each_ruby_install() { + emake V=1 DESTDIR="${D}" install +} + +all_ruby_install() { + dodoc README* +} -- cgit v1.2.3-65-gdbad