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

Contents of /dev-ruby/dbd-mysql/dbd-mysql-0.4.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Jan 9 18:19:16 2011 UTC (3 years, 11 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Remove old version.

(Portage version: 2.1.9.25/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbd-mysql/dbd-mysql-0.4.3.ebuild,v 1.7 2010/09/05 16:14:54 armin76 Exp $
4
5 inherit "ruby"
6
7 DESCRIPTION="The MySQL database driver (DBD) for Ruby/DBI"
8 HOMEPAGE="http://ruby-dbi.rubyforge.org"
9 SRC_URI="mirror://rubyforge/ruby-dbi/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="amd64 ia64 ~ppc ~sparc x86"
14 IUSE="test"
15
16 RDEPEND="
17 >=dev-ruby/ruby-dbi-0.4.2
18 >=dev-ruby/mysql-ruby-2.8_pre4"
19
20 # Upstream says mysql is not ruby19 ready yet
21 USE_RUBY="ruby18"
22
23 src_test() {
24 elog "The tests require additional configuration."
25 elog "You will find them in /usr/share/${PN}/test/"
26 elog "Be sure to read the file called DBD_TESTS."
27 }
28
29 src_install() {
30 ruby setup.rb install \
31 --prefix="${D}" || die "setup.rb install failed"
32
33 if use test; then
34 dodir /usr/share/${PN}
35 cp -pPR test "${D}/usr/share/${PN}" || die "couldn't copy tests"
36 fi
37 }

  ViewVC Help
Powered by ViewVC 1.1.20