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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Jan 24 09:05:05 2014 UTC (8 months, 1 week ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
dev-ruby/dbd-mysql removal due to being 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/dbd-mysql/dbd-mysql-0.4.4.ebuild,v 1.7 2012/09/02 09:04:22 flameeyes Exp $
4
5 EAPI=2
6 USE_RUBY="ruby18" # Upstream says mysql is not ruby19 ready yet (for 0.4.3)
7
8 inherit ruby-ng
9
10 DESCRIPTION="The MySQL database driver (DBD) for Ruby/DBI"
11 HOMEPAGE="http://ruby-dbi.rubyforge.org"
12 SRC_URI="mirror://rubyforge/ruby-dbi/${P}.tar.gz"
13
14 LICENSE="BSD"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86"
17 IUSE="test"
18
19 ruby_add_rdepend "
20 >=dev-ruby/dbi-0.4.2
21 >=dev-ruby/mysql-ruby-2.8_pre4"
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 each_ruby_configure() {
30 ${RUBY} setup.rb config --prefix=/usr
31 }
32
33 each_ruby_install() {
34 ${RUBY} setup.rb install \
35 --prefix="${D}" || die "setup.rb install failed"
36 }
37
38 all_ruby_install() {
39 dodoc ChangeLog README
40
41 if use test; then
42 dodir /usr/share/${PN}
43 cp -pPR test "${D}/usr/share/${PN}" || die "couldn't copy tests"
44 fi
45 }

  ViewVC Help
Powered by ViewVC 1.1.20