/[gentoo-x86]/dev-ruby/osmlib-base/osmlib-base-0.1.4-r1.ebuild
Gentoo

Contents of /dev-ruby/osmlib-base/osmlib-base-0.1.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Aug 24 20:50:50 2011 UTC (2 years, 11 months ago) by maekke
Branch: MAIN
Changes since 1.4: +2 -2 lines
x86 stable, bug #379011

(Portage version: 2.1.10.11/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/osmlib-base/osmlib-base-0.1.4-r1.ebuild,v 1.4 2011/08/14 15:08:03 hwoarang Exp $
4
5 EAPI=2
6
7 USE_RUBY="ruby18" #ree18 jruby
8
9 RUBY_FAKEGEM_TASK_TEST="-f rakefile.rb test"
10
11 RUBY_FAKEGEM_TASK_DOC="-f rakefile.rb rdoc"
12
13 RUBY_FAKEGEM_DOCDIR="rdoc"
14 RUBY_FAKEGEM_EXTRADOC="README.txt"
15
16 inherit ruby-fakegem
17
18 DESCRIPTION="A ruby library for OpenStreetMap."
19 HOMEPAGE="http://osmlib.rubyforge.org/"
20
21 LICENSE="public-domain"
22 SLOT="0"
23 KEYWORDS="amd64 x86"
24 IUSE=""
25
26 RESTRICT="test"
27
28 ruby_add_rdepend ">=dev-ruby/libxml-0.5.4
29 dev-ruby/GeoRuby"
30
31 ruby_add_bdepend "test? ( dev-ruby/builder )"
32
33 all_ruby_prepare() {
34 # Add test file missing from gem distribution
35 cp "${FILESDIR}"/test.osm test/ || die "Unable to copy test.osm"
36 }
37
38 all_ruby_install() {
39 all_fakegem_install
40
41 insinto /usr/share/doc/${PF}
42 doins -r examples || die
43 }

  ViewVC Help
Powered by ViewVC 1.1.20