summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/aws-sdk/aws-sdk-1.8.1.3.ebuild')
-rw-r--r--dev-ruby/aws-sdk/aws-sdk-1.8.1.3.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/aws-sdk/aws-sdk-1.8.1.3.ebuild b/dev-ruby/aws-sdk/aws-sdk-1.8.1.3.ebuild
new file mode 100644
index 000000000000..5e157e6a1ada
--- /dev/null
+++ b/dev-ruby/aws-sdk/aws-sdk-1.8.1.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/aws-sdk/aws-sdk-1.8.1.3.ebuild,v 1.1 2013/02/12 19:25:28 flameeyes Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+RUBY_FAKEGEM_EXTRAINSTALL="ca-bundle.crt"
+
+GITHUB_USER="aws"
+GITHUB_PROJECT="${PN}-ruby"
+RUBY_S="${GITHUB_PROJECT}-${PV}"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Official SDK for Amazon Web Services"
+HOMEPAGE="http://aws.amazon.com/sdkforruby"
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "virtual/ruby-ssl
+ >=dev-ruby/json-1.4
+ >=dev-ruby/nokogiri-1.4.4
+ >=dev-ruby/uuidtools-2.1"
+
+all_ruby_prepare() {
+ sed -i -e 's:~>:>=:' "${RUBY_FAKEGEM_GEMSPEC}" || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}
+ doins -r recipebook samples
+}