mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/ruby-amazon-ec2: new aport
This commit is contained in:
parent
72f4ff71cd
commit
0990bbff31
39
testing/ruby-amazon-ec2/APKBUILD
Normal file
39
testing/ruby-amazon-ec2/APKBUILD
Normal file
@ -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=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"
|
||||
Loading…
x
Reference in New Issue
Block a user