summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/linecache/linecache-0.43-r2.ebuild')
-rw-r--r--dev-ruby/linecache/linecache-0.43-r2.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/linecache/linecache-0.43-r2.ebuild b/dev-ruby/linecache/linecache-0.43-r2.ebuild
new file mode 100644
index 000000000000..66d6cd248b29
--- /dev/null
+++ b/dev-ruby/linecache/linecache-0.43-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/linecache/linecache-0.43-r2.ebuild,v 1.1 2010/09/25 05:50:02 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="AUTHORS ChangeLog NEWS README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Caches files as might be used in a debugger or a tool that works with sets of Ruby source files."
+HOMEPAGE="http://rubyforge.org/projects/rocky-hacks/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "dev-ruby/rake
+ test? ( virtual/ruby-test-unit )"
+
+each_ruby_compile() {
+ ${RUBY} -S rake lib || die "build failed"
+}
+
+each_ruby_install() {
+ each_fakegem_install
+ ruby_fakegem_newins ext/trace_nums.so lib/trace_nums.so
+}