/[gentoo-x86]/dev-ruby/aws-sdk/aws-sdk-1.5.7.ebuild
Gentoo

Contents of /dev-ruby/aws-sdk/aws-sdk-1.5.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jul 27 01:29:46 2012 UTC (23 months, 2 weeks ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump (my patch has been merged).

(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/aws-sdk/aws-sdk-1.5.7.ebuild,v 1.1 2012/07/13 10:55:16 flameeyes Exp $
4
5 EAPI=4
6
7 USE_RUBY="ruby18 ruby19 ree18"
8
9 RUBY_FAKEGEM_RECIPE_TEST="rspec"
10 RUBY_FAKEGEM_TASK_DOC=""
11 RUBY_FAKEGEM_DOCDIR="doc"
12 RUBY_FAKEGEM_EXTRADOC="README.rdoc"
13
14 RUBY_FAKEGEM_EXTRAINSTALL="ca-bundle.crt"
15
16 GITHUB_USER="amazonwebservices"
17 GITHUB_PROJECT="${PN}-for-ruby"
18 RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
19
20 RUBY_FAKEGEM_GEMSPEC="${T}/${P}.gemspec"
21
22 inherit ruby-fakegem
23
24 DESCRIPTION="Official SDK for Amazon Web Services"
25 HOMEPAGE="http://aws.amazon.com/sdkforruby"
26 SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz"
27
28 LICENSE="Apache-2.0"
29 SLOT="0"
30 KEYWORDS="~amd64"
31 IUSE=""
32
33 ruby_add_rdepend "virtual/ruby-ssl
34 >=dev-ruby/httparty-0.7
35 >=dev-ruby/json-1.4
36 >=dev-ruby/nokogiri-1.4.4
37 >=dev-ruby/uuidtools-2.1"
38
39 all_ruby_prepare() {
40 epatch "${FILESDIR}"/${PN}-1.5.3-disabletest.patch
41 epatch "${FILESDIR}"/${P}-specs.patch
42 }
43
44 all_ruby_compile() {
45 if use doc; then
46 rdoc || die
47 fi
48 }
49
50 each_ruby_install() {
51 sed -e "s:VERSION:${PV}:" "${FILESDIR}"/${PN}.gemspec > "${RUBY_FAKEGEM_GEMSPEC}"
52 each_fakegem_install
53 }
54
55 all_ruby_install() {
56 all_fakegem_install
57
58 insinto /usr/share/doc/${PF}
59 doins -r recipebook samples
60 }

  ViewVC Help
Powered by ViewVC 1.1.20