/[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 - (hide annotations) (download)
Wed Aug 24 20:50:50 2011 UTC (7 years, 2 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 hwoarang 1.4 # Copyright 1999-2011 Gentoo Foundation
2 flameeyes 1.1 # Distributed under the terms of the GNU General Public License v2
3 maekke 1.5 # $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 flameeyes 1.1
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 maekke 1.5 KEYWORDS="amd64 x86"
24 flameeyes 1.1 IUSE=""
25    
26 graaff 1.3 RESTRICT="test"
27    
28 flameeyes 1.1 ruby_add_rdepend ">=dev-ruby/libxml-0.5.4
29     dev-ruby/GeoRuby"
30    
31     ruby_add_bdepend "test? ( dev-ruby/builder )"
32    
33 graaff 1.3 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 flameeyes 1.1 all_ruby_install() {
39     all_fakegem_install
40    
41 flameeyes 1.2 insinto /usr/share/doc/${PF}
42     doins -r examples || die
43 flameeyes 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20