summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-06-21 05:12:29 +0000
committerHans de Graaff <graaff@gentoo.org>2010-06-21 05:12:29 +0000
commitca34568dadd70754ae68f43880f77593b9c9b4b9 (patch)
tree4fc0192dda991807e9bf13918400a8e64201aeaa /dev-ruby/eruby
parentVersion bump, stablize 4.29-r1 & 4.31-r1, ebuild clean up, add 0.5s delay in ... (diff)
downloadgentoo-2-ca34568dadd70754ae68f43880f77593b9c9b4b9.tar.gz
gentoo-2-ca34568dadd70754ae68f43880f77593b9c9b4b9.tar.bz2
gentoo-2-ca34568dadd70754ae68f43880f77593b9c9b4b9.zip
Convert to ruby-ng.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/eruby')
-rw-r--r--dev-ruby/eruby/ChangeLog7
-rw-r--r--dev-ruby/eruby/eruby-1.0.5-r2.ebuild36
2 files changed, 42 insertions, 1 deletions
diff --git a/dev-ruby/eruby/ChangeLog b/dev-ruby/eruby/ChangeLog
index 70fa34139fc7..6a12f34a9dca 100644
--- a/dev-ruby/eruby/ChangeLog
+++ b/dev-ruby/eruby/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/eruby
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eruby/ChangeLog,v 1.37 2010/05/22 15:11:59 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eruby/ChangeLog,v 1.38 2010/06/21 05:12:29 graaff Exp $
+
+*eruby-1.0.5-r2 (21 Jun 2010)
+
+ 21 Jun 2010; Hans de Graaff <graaff@gentoo.org> +eruby-1.0.5-r2.ebuild:
+ Convert to ruby-ng.
22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
eruby-1.0.5-r1.ebuild:
diff --git a/dev-ruby/eruby/eruby-1.0.5-r2.ebuild b/dev-ruby/eruby/eruby-1.0.5-r2.ebuild
new file mode 100644
index 000000000000..09da2a9feb70
--- /dev/null
+++ b/dev-ruby/eruby/eruby-1.0.5-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eruby/eruby-1.0.5-r2.ebuild,v 1.1 2010/06/21 05:12:29 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+IUSE="vim-syntax examples"
+
+DESCRIPTION="eRuby interprets a Ruby code embedded text file"
+HOMEPAGE="http://www.modruby.net/"
+SRC_URI="http://www.modruby.net/archive/${P}.tar.gz"
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+PDEPEND="vim-syntax? ( app-vim/eruby-syntax )"
+
+RUBY_PATCHES=( "${FILESDIR}"/${P}-missing-xldflags.patch )
+
+each_ruby_configure() {
+ ${RUBY} configure.rb || die
+}
+
+each_ruby_compile() {
+ emake || die
+}
+
+each_ruby_install() {
+ emake install DESTDIR="${D}" || die
+}
+
+all_ruby_install() {
+ dodoc ChangeLog README*
+}