/[gentoo-x86]/dev-ruby/sqlite-ruby/sqlite-ruby-2.2.3.ebuild
Gentoo

Contents of /dev-ruby/sqlite-ruby/sqlite-ruby-2.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Oct 4 08:04:11 2008 UTC (5 years, 10 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old version
(Portage version: 2.1.4.4)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite-ruby/sqlite-ruby-2.2.3.ebuild,v 1.5 2007/03/10 10:23:46 eroyf Exp $
4
5 inherit ruby
6
7 DESCRIPTION="An extension library to access a SQLite database from Ruby"
8 HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/"
9 LICENSE="BSD"
10
11 # The URL depends implicitly on the version, unfortunately. Even if you
12 # change the filename on the end, it still downloads the same file.
13 SRC_URI="http://rubyforge.org/frs/download.php/2819/${P}.tar.bz2"
14
15 KEYWORDS="alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
16 SLOT="0"
17 IUSE=""
18
19 USE_RUBY="ruby18 ruby19"
20 DEPEND="=dev-db/sqlite-2*"
21
22 src_compile() {
23 mkdir build
24 cp ext/extconf.rb ext/sqlite-api.c build
25 cp -r lib build
26 cd build
27 ruby extconf.rb || die "ruby extconf.rb failed"
28 make || die "make failed"
29 }
30
31 src_install() {
32 cd build
33 make DESTDIR=${D} install || die "make install failed"
34 cd ${S}
35 erubydoc
36 }
37
38 src_test() {
39 cd test
40 ruby tests.rb || die "tests.rb failed"
41 }

  ViewVC Help
Powered by ViewVC 1.1.20