/[gentoo-x86]/dev-ruby/mysql2/mysql2-0.2.18.ebuild
Gentoo

Contents of /dev-ruby/mysql2/mysql2-0.2.18.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue May 1 18:24:28 2012 UTC (2 years, 7 months ago) by armin76
Branch: MAIN
Changes since 1.1: +3 -3 lines
Drop ia64/sparc keywords

(Portage version: 2.1.10.53/cvs/Linux ia64, RepoMan options: --force)

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/mysql2/mysql2-0.2.18.ebuild,v 1.1 2011/12/08 17:24:45 graaff Exp $
4
5 EAPI="3"
6 USE_RUBY="ruby18 ruby19 ree18"
7
8 # Tests require a live MySQL database.
9 RUBY_FAKEGEM_TASK_TEST=""
10
11 RUBY_FAKEGEM_TASK_DOC=""
12
13 RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
14
15 inherit multilib ruby-fakegem
16
17 DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql."
18 HOMEPAGE="https://github.com/brianmario/mysql2"
19
20 LICENSE="MIT"
21 SLOT="0.2"
22 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
23 IUSE=""
24
25 DEPEND="${DEPEND} virtual/mysql[-static]"
26 RDEPEND="${RDEPEND} virtual/mysql[-static]"
27
28 each_ruby_configure() {
29 ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
30 }
31
32 each_ruby_compile() {
33 emake -Cext/mysql2 || die
34 cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die
35 }

  ViewVC Help
Powered by ViewVC 1.1.20