/[gentoo-x86]/dev-ruby/rubyzip/rubyzip-0.9.4.ebuild
Gentoo

Contents of /dev-ruby/rubyzip/rubyzip-0.9.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue May 1 18:24:22 2012 UTC (2 years, 4 months ago) by armin76
Branch: MAIN
Changes since 1.5: +3 -3 lines
Drop ia64/sparc keywords

(Portage version: 2.1.10.53/cvs/Linux ia64, RepoMan options: --force)

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/rubyzip/rubyzip-0.9.4.ebuild,v 1.5 2010/09/28 19:58:25 ranger Exp $
4
5 EAPI=2
6
7 # ruby19 → testsuite fail, code assumes Ruby 1.8 syntax
8 # jruby → adding zip files to the load path fails, badly
9 USE_RUBY="ruby18"
10
11 RUBY_FAKEGEM_DOCDIR="html"
12 RUBY_FAKEGEM_EXTRADOC="README TODO NEWS ChangeLog"
13
14 inherit ruby-fakegem
15
16 DESCRIPTION="A ruby library for reading and writing zip files"
17 HOMEPAGE="http://rubyzip.sourceforge.net/"
18
19 LICENSE="Ruby"
20 SLOT="0"
21 KEYWORDS="amd64 ~ppc x86"
22 IUSE=""
23
24 RDEPEND=""
25 DEPEND="test? ( app-arch/zip )"
26
27 all_ruby_prepare() {
28 # The Rakefile unconditionally requires net-sftp for the “Publish
29 # Package” task, avoid that.
30 sed -i \
31 -e '/net\/sftp/s:^:#:' \
32 Rakefile || die
33 }
34
35 all_ruby_install() {
36 all_fakegem_install
37
38 docinto examples
39 dodoc samples/* || die
40 }

  ViewVC Help
Powered by ViewVC 1.1.20