aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-amazon-ec2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ruby-amazon-ec2/APKBUILD')
-rw-r--r--unmaintained/ruby-amazon-ec2/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/ruby-amazon-ec2/APKBUILD b/unmaintained/ruby-amazon-ec2/APKBUILD
new file mode 100644
index 0000000000..1d5535b809
--- /dev/null
+++ b/unmaintained/ruby-amazon-ec2/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=amazon-ec2
+pkgname=ruby-$_gemname
+pkgver=0.9.17
+pkgrel=1
+pkgdesc="Library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling APIs."
+url="https://rubygems.org/gems/$_gemname"
+arch="noarch"
+license="GPL"
+depends="ruby ruby-xml-simple"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
+
+_builddir="$srcdir"/$_realname-$pkgver
+
+build() {
+ return 0
+}
+
+package() {
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ local _geminstdir=$_gemdir/gems/$_gemname-$pkgver
+ mkdir -p "$pkgdir" || return 1
+
+ gem install --local --install-dir "$pkgdir"/$_gemdir \
+ --ignore-dependencies --verbose --no-rdoc --no-ri \
+ "$srcdir"/$_gemname-$pkgver.gem || return 1
+ rm -rf "$pkgdir"/$_gemdir/cache \
+ "$pkgdir"/$_geminstdir/ext \
+ "$pkgdir"/$_geminstdir/.require_paths
+}
+
+md5sums="66fe60764b90bd7f01e70069e93e5da4 amazon-ec2-0.9.17.gem"
+sha256sums="4cbbd8cada5534cc6d081281b26bbb777c53410ea571829d0b7d0826b7d1e971 amazon-ec2-0.9.17.gem"
+sha512sums="6138f95759e248bbf4d1633e042c7799ccf395a2e218e72f245abd56501a70079a0ea14c29c955b22fb33849699ad7268dba03e75493fd68594c9361a85ffd61 amazon-ec2-0.9.17.gem"