|
Line
Link Here
|
| 0 |
-- sqlite-ruby-1.0.ebuild 2004-08-05 19:35:53.000000000 -0400 |
0 |
++ sqlite-ruby-2.2.2.ebuild 2004-11-19 11:47:54.566973280 -0500 |
|
Lines 1-23
Link Here
|
| 1 |
# Copyright 1999-2004 Gentoo Foundation |
1 |
# Copyright 1999-2004 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite-ruby/sqlite-ruby-1.0.ebuild,v 1 |
3 |
# $Header: $ |
|
|
4 |
|
| 5 |
inherit ruby |
| 4 |
DESCRIPTION="An extension library to access a SQLite database from Ruby" |
6 |
DESCRIPTION="An extension library to access a SQLite database from Ruby" |
| 5 |
HOMEPAGE="http://sqlite-ruby.sourceforge.net/" |
7 |
HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/" |
| 6 |
SRC_URI="mirror://sourceforge/sqlite-ruby/${P}.tar.gz" |
8 |
LICENSE="BSD" |
| 7 |
LICENSE="GPL-2" |
9 |
|
|
|
10 |
# The URL depends implicitly on the version, unfortunately. Even if you |
| 11 |
# change the filename on the end, it still downloads the same file. |
| 12 |
SRC_URI="http://rubyforge.org/frs/download.php/1901/${P}.tar.bz2" |
| 13 |
|
| 14 |
KEYWORDS="~x86" |
| 8 |
SLOT="0" |
15 |
SLOT="0" |
| 9 |
KEYWORDS="alpha ~hppa ~mips ~ppc sparc ~x86" |
|
|
| 10 |
IUSE="" |
16 |
IUSE="" |
| 11 |
DEPEND=">=dev-lang/ruby-1.6.2 |
17 |
|
| 12 |
=dev-db/sqlite-2*" |
18 |
USE_RUBY="ruby18 ruby19" |
| 13 |
S=${WORKDIR}/sqlite |
19 |
DEPEND="virtual/ruby |
|
|
20 |
=dev-db/sqlite-2* |
| 21 |
dev-ruby/rake |
| 22 |
dev-ruby/rubygems" |
| 14 |
src_compile() { |
23 |
src_compile() { |
| 15 |
ruby extconf.rb || die |
24 |
return |
| 16 |
emake || die |
|
|
| 17 |
} |
25 |
} |
| 18 |
src_install() { |
26 |
src_install() { |
| 19 |
einstall |
27 |
DESTDIR=${D} einstall |
|
|
28 |
erubydoc |
| 20 |
} |
29 |
} |