From 0990bbff31f91e24ef4d3d86478fe2bdcefccf14 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 11 Jun 2013 15:21:56 +0000 Subject: testing/ruby-amazon-ec2: new aport --- testing/ruby-amazon-ec2/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 testing/ruby-amazon-ec2/APKBUILD (limited to 'testing/ruby-amazon-ec2') diff --git a/testing/ruby-amazon-ec2/APKBUILD b/testing/ruby-amazon-ec2/APKBUILD new file mode 100644 index 0000000000..d563a1513e --- /dev/null +++ b/testing/ruby-amazon-ec2/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Carlo Landmeter +# Maintainer: Natanael Copa +_gemname=amazon-ec2 +pkgname=ruby-$_gemname +pkgver=0.9.17 +pkgrel=0 +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 ruby-gems" +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" -- cgit v1.2.3