summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-07-03 08:32:11 +0000
committerHans de Graaff <graaff@gentoo.org>2010-07-03 08:32:11 +0000
commit2e462682eda0ea4de8c6fa4f3584d1f2a5e9dd22 (patch)
treeea2f2645510f75d2fbc33ed9295ff1e4cdaf79d9 /dev-ruby/ruby-ferret
parentconvert to ruby-fakegem eclass (diff)
downloadgentoo-2-2e462682eda0ea4de8c6fa4f3584d1f2a5e9dd22.tar.gz
gentoo-2-2e462682eda0ea4de8c6fa4f3584d1f2a5e9dd22.tar.bz2
gentoo-2-2e462682eda0ea4de8c6fa4f3584d1f2a5e9dd22.zip
Convert to ruby-fakegem.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ruby-ferret')
-rw-r--r--dev-ruby/ruby-ferret/ChangeLog8
-rw-r--r--dev-ruby/ruby-ferret/ruby-ferret-0.11.6-r1.ebuild40
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/ruby-ferret/ChangeLog b/dev-ruby/ruby-ferret/ChangeLog
index 4891f319691c..f50338c27880 100644
--- a/dev-ruby/ruby-ferret/ChangeLog
+++ b/dev-ruby/ruby-ferret/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-ferret
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-ferret/ChangeLog,v 1.6 2010/05/22 15:46:43 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-ferret/ChangeLog,v 1.7 2010/07/03 08:32:11 graaff Exp $
+
+*ruby-ferret-0.11.6-r1 (03 Jul 2010)
+
+ 03 Jul 2010; Hans de Graaff <graaff@gentoo.org>
+ +ruby-ferret-0.11.6-r1.ebuild:
+ Convert to ruby-fakegem.
22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
ruby-ferret-0.11.6.ebuild:
diff --git a/dev-ruby/ruby-ferret/ruby-ferret-0.11.6-r1.ebuild b/dev-ruby/ruby-ferret/ruby-ferret-0.11.6-r1.ebuild
new file mode 100644
index 000000000000..a69fe3a68f88
--- /dev/null
+++ b/dev-ruby/ruby-ferret/ruby-ferret-0.11.6-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-ferret/ruby-ferret-0.11.6-r1.ebuild,v 1.1 2010/07/03 08:32:11 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_NAME="ferret"
+
+RUBY_FAKEGEM_TASK_DOC="appdoc"
+RUBY_FAKEGEM_DOCDIR="doc/api"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README TODO TUTORIAL"
+
+inherit multilib ruby-fakegem
+
+MY_P="${P/ruby-/}"
+DESCRIPTION="A ruby indexing/searching library"
+HOMEPAGE="http://ferret.davebalmain.com/trac/"
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake -Cext || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Iext:lib test/test_all.rb || die
+}
+
+each_ruby_install() {
+ mv ext/ferret_ext$(get_modname) lib/ || die
+ each_fakegem_install
+}