aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-thread_safe
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-05 12:39:32 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-05 12:40:23 +0200
commit82fa7ab6f5bbc2012c92d0ada2785c13519f5525 (patch)
treebe0f59ea488b24d7a31bb73da7eb992508bb73ce /main/ruby-thread_safe
parent61e53274600c0ab7fc52b6e1cd6b5367fec2e5d4 (diff)
downloadaports-82fa7ab6f5bbc2012c92d0ada2785c13519f5525.tar.bz2
aports-82fa7ab6f5bbc2012c92d0ada2785c13519f5525.tar.xz
main/ruby*: fix dependencies and update to latest possible versions
Diffstat (limited to 'main/ruby-thread_safe')
-rw-r--r--main/ruby-thread_safe/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/ruby-thread_safe/APKBUILD b/main/ruby-thread_safe/APKBUILD
new file mode 100644
index 0000000000..63a6a3bcac
--- /dev/null
+++ b/main/ruby-thread_safe/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Seung Soo Mun <hamletmun@gmail.com>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=thread_safe
+pkgname=ruby-$_gemname
+pkgver=0.3.4
+pkgrel=0
+pkgdesc="Thread-safe collections and utilities for Ruby "
+url="http://rubygems.org/gems/$_gemname"
+arch="noarch"
+license="MIT"
+depends="ruby"
+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="7da4dd3fbb12c9fe504a9f885703761a thread_safe-0.3.4.gem"
+sha256sums="16315baa971c48d00104bcd35e8934e3f9ccfd3b8f429e3fca7ee2dfd81734b2 thread_safe-0.3.4.gem"
+sha512sums="e7297343a63b6d50c6062d65df2a5f29bd03c4ae60181b028d2982f6852699da7bbcc4f49ed14fa06961545f808d635c14596d1009090b171c9d60f86b8d2c09 thread_safe-0.3.4.gem"