/[gentoo-x86]/dev-ruby/zoom/zoom-0.4.1-r1.ebuild
Gentoo

Contents of /dev-ruby/zoom/zoom-0.4.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Aug 16 15:16:57 2012 UTC (23 months, 1 week ago) by flameeyes
Branch: MAIN
Changes since 1.1: +6 -8 lines
Bump to EAPI 4, add ree18.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

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/zoom/zoom-0.4.1-r1.ebuild,v 1.1 2012/08/16 03:45:17 flameeyes Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ree18"
7
8 RUBY_FAKEGEM_DOCDIR="html"
9 RUBY_FAKEGEM_EXTRADOC="ChangeLog README"
10
11 inherit multilib ruby-fakegem
12
13 IUSE=""
14
15 DESCRIPTION="A Ruby binding to the Z39.50 Object-Orientation Model (ZOOM)"
16 HOMEPAGE="http://ruby-zoom.rubyforge.org/"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="~amd64 ~ppc ~x86"
21
22 DEPEND+=" dev-libs/yaz"
23 RDEPEND+=" dev-libs/yaz"
24
25 ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
26
27 each_ruby_configure() {
28 ${RUBY} -Csrc extconf.rb || die
29 }
30
31 each_ruby_compile() {
32 emake -Csrc
33 }
34
35 each_ruby_install() {
36 mkdir lib || die
37 cp src/zoom$(get_modname) lib/ || die
38
39 each_fakegem_install
40 }
41
42 all_ruby_install() {
43 all_fakegem_install
44
45 insinto /usr/share/doc/${PF}
46 doins -r sample
47 }

  ViewVC Help
Powered by ViewVC 1.1.20