summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-07-04 18:30:00 +0000
committerHans de Graaff <graaff@gentoo.org>2010-07-04 18:30:00 +0000
commita3b0e893e0b851866a6710d6f635649d20c7aabc (patch)
treeef0f53f9e92d5b6957e482e77f492466c306ea21 /dev-ruby
parentVersion Bump, fixes for python ABI compatibiliy (diff)
downloadgentoo-2-a3b0e893e0b851866a6710d6f635649d20c7aabc.tar.gz
gentoo-2-a3b0e893e0b851866a6710d6f635649d20c7aabc.tar.bz2
gentoo-2-a3b0e893e0b851866a6710d6f635649d20c7aabc.zip
Convert to ruby-ng.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ruby-freedb/ChangeLog10
-rw-r--r--dev-ruby/ruby-freedb/ruby-freedb-0.5-r1.ebuild35
2 files changed, 43 insertions, 2 deletions
diff --git a/dev-ruby/ruby-freedb/ChangeLog b/dev-ruby/ruby-freedb/ChangeLog
index 339d04895f80..e170121ffcbc 100644
--- a/dev-ruby/ruby-freedb/ChangeLog
+++ b/dev-ruby/ruby-freedb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-freedb
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-freedb/ChangeLog,v 1.17 2009/12/20 14:12:36 graaff Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-freedb/ChangeLog,v 1.18 2010/07/04 18:30:00 graaff Exp $
+
+*ruby-freedb-0.5-r1 (04 Jul 2010)
+
+ 04 Jul 2010; Hans de Graaff <graaff@gentoo.org>
+ +ruby-freedb-0.5-r1.ebuild:
+ Convert to ruby-ng.
20 Dec 2009; Hans de Graaff <graaff@gentoo.org> ruby-freedb-0.5.ebuild:
Remove obsolete virtual/ruby dependency.
diff --git a/dev-ruby/ruby-freedb/ruby-freedb-0.5-r1.ebuild b/dev-ruby/ruby-freedb/ruby-freedb-0.5-r1.ebuild
new file mode 100644
index 000000000000..cf9947a036d6
--- /dev/null
+++ b/dev-ruby/ruby-freedb/ruby-freedb-0.5-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-freedb/ruby-freedb-0.5-r1.ebuild,v 1.1 2010/07/04 18:30:00 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+DESCRIPTION="A Ruby library to access cddb/freedb servers"
+HOMEPAGE="http://ruby-freedb.rubyforge.org/"
+SRC_URI="http://rubyforge.org/download.php/69/${P}.tar.gz"
+LICENSE="GPL-2 Artistic"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+IUSE=""
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake || die
+}
+
+each_ruby_install() {
+ emake DESTDIR="${D}" install || die
+}
+
+all_ruby_install() {
+ dodoc CHANGELOG README || die
+ dohtml -r doc/* || die
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die
+}