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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Wed Jan 21 05:06:19 2015 UTC (3 years, 8 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
dev-ruby/mysql-ruby removal. No support for recent ruby implementations.

1 # Copyright 1999-2014 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.9.1.ebuild,v 1.7 2014/05/07 19:19:28 mrueg Exp $
4
5 EAPI=4
6 USE_RUBY="ruby19"
7
8 RUBY_FAKEGEM_NAME="mysql"
9
10 RUBY_FAKEGEM_TASK_TEST=""
11 RUBY_FAKEGEM_TASK_DOC=""
12
13 RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
14
15 inherit multilib ruby-fakegem
16
17 DESCRIPTION="A Ruby extension library to use MySQL"
18 HOMEPAGE="http://www.tmtm.org/en/mysql/ruby/"
19
20 LICENSE="Ruby"
21 SLOT="0"
22 KEYWORDS="amd64 hppa ~mips ppc ppc64 x86 ~x86-fbsd"
23 IUSE="test"
24
25 DEPEND="virtual/mysql[-static]"
26 RDEPEND="${DEPEND}"
27
28 TEST_DIR="/usr/share/${PN}/test/"
29
30 each_ruby_configure() {
31 ${RUBY} -Cext/mysql_api extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
32 }
33
34 each_ruby_compile() {
35 emake -Cext/mysql_api || die
36 cp ext/mysql_api/mysql_api$(get_modname) lib/mysql/ || die
37 }
38
39 all_ruby_install() {
40 all_fakegem_install
41 }

  ViewVC Help
Powered by ViewVC 1.1.20