/[gentoo-x86]/dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild
Gentoo

Contents of /dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Tue Sep 4 19:31:43 2007 UTC (11 years, 2 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Version bump
(Portage version: 2.1.2.12)

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/mysql-ruby/mysql-ruby-2.7.ebuild,v 1.12 2007/01/05 16:48:20 flameeyes Exp $
4
5 inherit ruby
6
7 DESCRIPTION="A Ruby extension library to use MySQL"
8 HOMEPAGE="http://www.tmtm.org/en/mysql/ruby/"
9 SRC_URI="http://www.tmtm.org/downloads/mysql/ruby/${P}.tar.gz"
10
11 LICENSE="Ruby"
12 SLOT="0"
13 KEYWORDS="alpha amd64 hppa ia64 mips ppc sparc x86"
14 IUSE=""
15
16 USE_RUBY="ruby16 ruby18 ruby19"
17 DEPEND="virtual/ruby
18 virtual/mysql"
19
20 src_compile() {
21 ruby extconf.rb || die
22 emake || die
23 }
24
25 src_install() {
26 make DESTDIR=${D} install || die
27
28 dohtml *
29 }
30
31 src_test() {
32 elog
33 elog "To test the programme you need to start mysql first."
34 elog "Then extract the tarball and run"
35 elog
36 elog " % ruby test.rb hostname user password"
37 elog
38 elog "See /usr/share/doc/${PF}/html/README.html for detail."
39 elog
40 }

  ViewVC Help
Powered by ViewVC 1.1.20