Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 163446
Collapse All | Expand All

(-)ruby-odbc-0.9993.ebuild (-5 / +16 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2006 Gentoo Foundation
1
# Copyright 1999-2007 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ruby-odbc-0.9993.ebuild,v 1.4 2006/10/14 20:06:39 agriffis Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ruby-odbc-0.9993.ebuild,v 1.4 2006/10/14 20:06:39 agriffis Exp $
4
4
Lines 7-17 Link Here
7
HOMEPAGE="http://www.ch-werner.de/rubyodbc/"
7
HOMEPAGE="http://www.ch-werner.de/rubyodbc/"
8
SRC_URI="http://www.ch-werner.de/rubyodbc/${P}.tar.gz"
8
SRC_URI="http://www.ch-werner.de/rubyodbc/${P}.tar.gz"
9
9
10
LICENSE="GPL-2"
10
LICENSE="|| ( GPL-2 Ruby )"
11
SLOT="0"
11
SLOT="0"
12
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
12
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
13
USE_RUBY="ruby18"
13
USE_RUBY="ruby18"
14
IUSE=""
14
IUSE="unicode"
15
15
16
DEPEND="virtual/ruby
16
DEPEND="virtual/ruby
17
	>=dev-db/unixODBC-2.0.6"
17
	>=dev-db/unixODBC-2.0.6"
Lines 19-27 Link Here
19
src_compile() {
19
src_compile() {
20
	ruby extconf.rb
20
	ruby extconf.rb
21
	emake
21
	emake
22
	if use unicode ; then
23
		ruby -Cutf8 extconf.rb
24
		emake -C utf8
25
	fi
22
}
26
}
23
27
24
src_install() {
28
src_install() {
25
	ruby_src_install
29
	ruby_einstall
26
	dodoc LICENSE README
30
31
	if use unicode ; then
32
		ruby_einstall -C utf8
33
	fi
34
35
	dodoc README
36
	dodoc ChangeLog
37
	dohtml  doc/odbc.html
27
}
38
}

Return to bug 163446