summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-28 13:01:42 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-28 13:01:42 +0000
commit6089c3b49900c62d87e14c84abd9fcbee217f9b6 (patch)
tree868278251d344c0f5ee9a6e40faa078e5ffaaf8b /dev-ruby/ruby-bdb
parentUse insinto/newins instead of mkdir/cp (diff)
downloadhistorical-6089c3b49900c62d87e14c84abd9fcbee217f9b6.tar.gz
historical-6089c3b49900c62d87e14c84abd9fcbee217f9b6.tar.bz2
historical-6089c3b49900c62d87e14c84abd9fcbee217f9b6.zip
Add a new ebuild based on ruby-ng.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-bdb')
-rw-r--r--dev-ruby/ruby-bdb/ChangeLog10
-rw-r--r--dev-ruby/ruby-bdb/Manifest11
-rw-r--r--dev-ruby/ruby-bdb/ruby-bdb-0.6.5-r1.ebuild60
3 files changed, 74 insertions, 7 deletions
diff --git a/dev-ruby/ruby-bdb/ChangeLog b/dev-ruby/ruby-bdb/ChangeLog
index e7812c78117c..4f93672579e1 100644
--- a/dev-ruby/ruby-bdb/ChangeLog
+++ b/dev-ruby/ruby-bdb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-bdb
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bdb/ChangeLog,v 1.33 2009/08/22 22:23:25 a3li Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bdb/ChangeLog,v 1.34 2010/01/28 13:01:42 flameeyes Exp $
+
+*ruby-bdb-0.6.5-r1 (28 Jan 2010)
+
+ 28 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +ruby-bdb-0.6.5-r1.ebuild:
+ Add a new ebuild based on ruby-ng.
22 Aug 2009; Alex Legler <a3li@gentoo.org> ruby-bdb-0.6.5.ebuild:
Remove ruby16 and ruby19 from USE_RUBY
diff --git a/dev-ruby/ruby-bdb/Manifest b/dev-ruby/ruby-bdb/Manifest
index cab98d64622f..5a5ba6fc5b56 100644
--- a/dev-ruby/ruby-bdb/Manifest
+++ b/dev-ruby/ruby-bdb/Manifest
@@ -2,13 +2,14 @@
Hash: SHA1
DIST bdb-0.6.5.tar.gz 321865 RMD160 32e32f106cccbd7361a5ad0090fdf390fd2cd13c SHA1 9a9151801d2a02feb0bba866762634bec860e724 SHA256 edba29bb720fa32a93a80b2746667d52a30d63e418e89958b17896ef0f25889d
+EBUILD ruby-bdb-0.6.5-r1.ebuild 1207 RMD160 a0d51ec5eb861850342c4b49d626ebc4a7975c8f SHA1 0e4dfe120a369a5e0355fdd48c4c465b9a78be84 SHA256 ada4875fe97f0cd7b760c9ab4749e521acda5c30694a0a1a7159daf8314947ad
EBUILD ruby-bdb-0.6.5.ebuild 803 RMD160 b74b297c168213134ce5054e93e21e1c990fc972 SHA1 4b5735fc289c72afd3f49151983787d95499c15f SHA256 f4fddd9d2f709605b8f94d0463f8fa126d0d5c4cb71ca6667e76d3f3399c2980
-MISC ChangeLog 4225 RMD160 7b15b023c4a04851255b948593a30752c562200b SHA1 26fda202c5608269e9eadfe90f8b3fd2e821b059 SHA256 2abda960abd9a5d25ef198de6fb0559683e2cccfa101a48133ab48325207ab94
+MISC ChangeLog 4387 RMD160 2325fe6d9706ee9c89289b05490e56f84d6063ac SHA1 542565ba68d1b65833974b852b5f9bd813611426 SHA256 0f08b1c97b4363e5893a6dd3cb55e0ece9c56f238dcc8783baf12102b5d8fc99
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAkqQb8kACgkQaGsKqSU7eCR8rQCgvBSEZgA1t8nBO/sG5CV+o0Rh
-KNIAn2JV+KyBLBwLJebOwDvWOkVMVZnM
-=z8tC
+iEYEARECAAYFAkthinQACgkQAiZjviIA2XjeyACfV6EfXK6yHkJQnEeuKZ1MBS4/
+3HMAnA6J6R1Oq2jClM08fAWUp+bN7kud
+=+v0x
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-bdb/ruby-bdb-0.6.5-r1.ebuild b/dev-ruby/ruby-bdb/ruby-bdb-0.6.5-r1.ebuild
new file mode 100644
index 000000000000..e53944da0d16
--- /dev/null
+++ b/dev-ruby/ruby-bdb/ruby-bdb-0.6.5-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bdb/ruby-bdb-0.6.5-r1.ebuild,v 1.1 2010/01/28 13:01:42 flameeyes Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18"
+
+inherit db-use ruby-ng
+
+MY_P=${P/ruby-/}
+
+DESCRIPTION="Ruby interface to Berkeley DB"
+HOMEPAGE="http://moulon.inra.fr/ruby/bdb.html"
+SRC_URI="ftp://moulon.inra.fr/pub/ruby/${MY_P}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="doc"
+
+S=${WORKDIR}/${MY_P}
+
+RDEPEND=">=sys-libs/db-3.2.9"
+DEPEND="${RDEPEND}"
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb --with-db-include=$(db_includedir) \
+ --with-db-version=$(db_libname | sed -e 's:db::') \
+ || die "extconf failed"
+}
+
+each_ruby_compile() {
+ emake || die "emake failed"
+
+ if use doc; then
+ emake rdoc || die "rdoc failed"
+ fi
+}
+
+each_ruby_test() {
+ emake test || die "tests failed"
+}
+
+each_ruby_install() {
+ doruby src/bdb.so
+
+ dodoc README.en Changes || die
+ dohtml bdb.html || die
+
+ if use doc; then
+ pushd docs &>/dev/null
+ docinto api
+ dohtml -r doc || die
+ popd &>/dev/null
+ fi
+
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples/* || die
+}