# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit ruby DESCRIPTION="An extension library to access a SQLite database from Ruby" HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/" LICENSE="BSD" # The URL depends implicitly on the version, unfortunately. Even if you # change the filename on the end, it still downloads the same file. SRC_URI="http://rubyforge.org/frs/download.php/3089/${P}.tar.bz2" KEYWORDS="~x86 ~amd64" SLOT="0" IUSE="" USE_RUBY="ruby18 ruby19" DEPEND="=dev-db/sqlite-3*" src_compile() { ruby setup.rb config || die "ruby setup.rb config failed" ruby setup.rb setup || die "ruby setup.rb setup failed" } src_install() { ruby setup.rb install --prefix=${D} || die erubydoc }