aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-augeas
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-08 17:53:47 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-08 17:54:36 +0200
commit376aebed24e0ef3f3f4849fbe64b1e728b12f9dd (patch)
tree63ccdf152ce859b6c6d675f43fd4293b35069fe9 /main/ruby-augeas
parent4f6d71c6ca4e45384fa3d6d90e9cbd2aa284a693 (diff)
downloadaports-376aebed24e0ef3f3f4849fbe64b1e728b12f9dd.tar.bz2
aports-376aebed24e0ef3f3f4849fbe64b1e728b12f9dd.tar.xz
main/ruby-augeas: moved from testing
Diffstat (limited to 'main/ruby-augeas')
-rw-r--r--main/ruby-augeas/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/ruby-augeas/APKBUILD b/main/ruby-augeas/APKBUILD
new file mode 100644
index 0000000000..7ca4e2f40f
--- /dev/null
+++ b/main/ruby-augeas/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=ruby-augeas
+pkgname=$_gemname
+pkgver=0.5.0
+pkgrel=0
+pkgdesc="Augeas bindings for Ruby"
+url=http://rubygems.org/gems/$_gemname
+arch=all
+license=LGPL2.1+
+depends=ruby
+makedepends="augeas-dev ruby-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="0638a1a9c1bfbc8a94efca9ee24216b5 ruby-augeas-0.5.0.gem"
+sha256sums="42b0973c8ff88c5a903a1b126f1418a69eb3c8f4d45999055bfdce9b70e57101 ruby-augeas-0.5.0.gem"
+sha512sums="523742368543c617baa2b393e4682451d7fe20aecbcf9ab50fed0f5575119b3fbc06f79f0894cca728d2fee7d441cdd9f075dbcf81628835ba870930c3d2ac8d ruby-augeas-0.5.0.gem"