From d2d6f6a7f82a2252a67a5d5a4e4b0479a891a7d7 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 10 Feb 2010 21:07:45 +0000 Subject: Version bump to the new feature branch thanks to Troy Bowman in #303415, with some minor edits. (Portage version: 2.1.7.16/cvs/Linux x86_64) --- dev-ruby/ruby-oci8/ChangeLog | 8 +++++- dev-ruby/ruby-oci8/ruby-oci8-2.0.3.ebuild | 42 +++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 dev-ruby/ruby-oci8/ruby-oci8-2.0.3.ebuild diff --git a/dev-ruby/ruby-oci8/ChangeLog b/dev-ruby/ruby-oci8/ChangeLog index 2fbaba01e7bd..19f317f350cf 100644 --- a/dev-ruby/ruby-oci8/ChangeLog +++ b/dev-ruby/ruby-oci8/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/ruby-oci8 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-oci8/ChangeLog,v 1.13 2010/02/06 16:29:46 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-oci8/ChangeLog,v 1.14 2010/02/10 21:07:45 graaff Exp $ + +*ruby-oci8-2.0.3 (10 Feb 2010) + + 10 Feb 2010; Hans de Graaff +ruby-oci8-2.0.3.ebuild: + Version bump to the new feature branch thanks to Troy Bowman in #303415, + with some minor edits. *ruby-oci8-1.0.7-r1 (06 Feb 2010) diff --git a/dev-ruby/ruby-oci8/ruby-oci8-2.0.3.ebuild b/dev-ruby/ruby-oci8/ruby-oci8-2.0.3.ebuild new file mode 100644 index 000000000000..f3e791c2e0d7 --- /dev/null +++ b/dev-ruby/ruby-oci8/ruby-oci8-2.0.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-oci8/ruby-oci8-2.0.3.ebuild,v 1.1 2010/02/10 21:07:45 graaff Exp $ + +EAPI="2" +USE_RUBY="ruby18 ruby19" + +inherit ruby-ng + +DESCRIPTION="A Ruby library for Oracle" +HOMEPAGE="http://rubyforge.org/projects/ruby-oci8/" +SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-db/oracle-instantclient-basic" +DEPEND="${RDEPEND}" + +each_ruby_configure() { + ${RUBY} setup.rb config --prefix="${D}/usr" || die "configure failed" +} + +each_ruby_compile() { + ${RUBY} setup.rb setup || die "compile failed" +} + +each_ruby_install() { + ${RUBY} setup.rb install || die "install failed" +} + +all_ruby_install() { + for i in NEWS README ChangeLog + do test -e $i && dodoc $i + done +} + +pkg_postinst() { + test -e "/usr/share/doc/${PF}/NEWS.bz2" && \ + elog "Please read /usr/share/doc/${PF}/NEWS.bz2 for major change information in ${P}" +} -- cgit v1.2.3-65-gdbad