summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-bdb/ruby-bdb-0.5.9.ebuild')
-rw-r--r--dev-ruby/ruby-bdb/ruby-bdb-0.5.9.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/ruby-bdb/ruby-bdb-0.5.9.ebuild b/dev-ruby/ruby-bdb/ruby-bdb-0.5.9.ebuild
new file mode 100644
index 000000000000..da43b2236072
--- /dev/null
+++ b/dev-ruby/ruby-bdb/ruby-bdb-0.5.9.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2006 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.5.9.ebuild,v 1.1 2006/06/15 10:56:59 flameeyes Exp $
+
+inherit db-use ruby
+
+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=""
+USE_RUBY="ruby16 ruby18 ruby19"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND=">=sys-libs/db-3.2.9"
+
+src_compile() {
+ RUBY_ECONF="--with-db-include=$(db_includedir)
+ --with-db-version=$(db_libname | sed -e 's:db::')"
+ ruby_src_compile
+}
+
+src_install() {
+ ruby_src_install
+ dodoc Changes
+ dohtml bdb.html
+}