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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Mar 9 13:52:20 2006 UTC (12 years, 3 months ago) by caleb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
remove old versions
(Portage version: 2.1_pre5-r4)

1 # Copyright 1999-2006 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.5.ebuild,v 1.7 2006/02/04 15:04:14 solar 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/en/mysql/ruby/${P}.tar.gz"
10
11 LICENSE="Ruby"
12 SLOT="0"
13 KEYWORDS="alpha hppa ~mips ppc sparc x86"
14 IUSE=""
15
16 USE_RUBY="ruby16 ruby18 ruby19"
17 DEPEND="virtual/ruby
18 >=dev-db/mysql-3.23.58"
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 einfo
33 einfo "To test the programme you need to start mysql first."
34 einfo "Then extract the tarball and run"
35 einfo
36 einfo " % ruby test.rb hostname user password"
37 einfo
38 einfo "See /usr/share/doc/${PF}/html/README.html for detail."
39 einfo
40 }

  ViewVC Help
Powered by ViewVC 1.1.20