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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Fri Jan 24 09:03:10 2014 UTC (6 months, 3 weeks ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
dev-ruby/sqlite-ruby removal due to ruby18-only

1 # Copyright 1999-2012 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-r2.ebuild,v 1.10 2012/07/01 18:31:41 armin76 Exp $
4
5 EAPI="2"
6 USE_RUBY="ruby18"
7
8 RUBY_FAKEGEM_TASK_DOC=""
9 RUBY_FAKEGEM_EXTRADOC="README"
10
11 inherit ruby-fakegem
12
13 DESCRIPTION="An extension library to access a SQLite database from Ruby"
14 HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/"
15 LICENSE="BSD"
16
17 KEYWORDS="amd64 hppa ~mips ppc ppc64 x86 ~x86-fbsd"
18 SLOT="0"
19 IUSE=""
20
21 DEPEND="${DEPEND}
22 =dev-db/sqlite-2*"
23
24 RDEPEND="${RDEPEND}
25 =dev-db/sqlite-2*"
26
27 each_ruby_configure() {
28 ${RUBY} -Cext extconf.rb || die "Configuration failed."
29 }
30
31 each_ruby_compile() {
32 emake -Cext || die "Compilation failed."
33 cp ext/sqlite_api.so lib || die "Unable to cp shared library."
34 }
35
36 each_ruby_test() {
37 ${RUBY} test/tests.rb || die "Tests failed."
38 }
39
40 all_ruby_install() {
41 all_fakegem_install
42
43 dohtml -r doc/faq
44 }

  ViewVC Help
Powered by ViewVC 1.1.20