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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Dec 26 08:09:34 2012 UTC (5 years, 11 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Actually install the shared object.

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

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/mysql-ruby/mysql-ruby-2.9.0.ebuild,v 1.1 2012/12/25 08:19:23 graaff Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ree18 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 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 #all_ruby_prepare() {
31 # epatch "${FILESDIR}/${P}-test2.patch"
32 #}
33
34 each_ruby_configure() {
35 ${RUBY} -Cext/mysql_api extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
36 }
37
38 each_ruby_compile() {
39 emake -Cext/mysql_api || die
40 }
41
42 all_ruby_install() {
43 all_fakegem_install
44 }

  ViewVC Help
Powered by ViewVC 1.1.20