aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-rack14
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-29 08:11:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-29 12:36:41 +0000
commit80acbaee801184140fac0c967cbb8aa051db2b06 (patch)
tree77c8128eadea951dd93cce5ba6632c5ddc120426 /unmaintained/ruby-rack14
parent5db5ee5c13e577e862e822501b2e4863fbd63195 (diff)
downloadaports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.bz2
aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.xz
move testing/ruby-* to unmaintained
ruby-mime-types and ruby-nokogiri was there already so remove those
Diffstat (limited to 'unmaintained/ruby-rack14')
-rw-r--r--unmaintained/ruby-rack14/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/ruby-rack14/APKBUILD b/unmaintained/ruby-rack14/APKBUILD
new file mode 100644
index 0000000000..c60a27b83d
--- /dev/null
+++ b/unmaintained/ruby-rack14/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Matt Smith <mcs@darkregion.net>
+# Maintainer: Matt Smith <mcs@darkregion.net>
+pkgname=ruby-rack14
+_gemname=rack
+pkgver=1.4.5
+pkgrel=1
+pkgdesc="Rack is a Ruby Webserver Interface"
+url="http://rack.rubyforge.org/"
+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="6661d225210f6b48f83fb279aba0a149 rack-1.4.5.gem"
+sha256sums="f7bf3faa8e09a2ff26475372de36a724e7470d6bdc33d189a0ec34b49605f308 rack-1.4.5.gem"
+sha512sums="061e7134a845b1ad4371b17aec2aae15add75fa6ff26b4440102e11962b18d8f89b0598ee2497a3caa2677b84f42929d901afb5b1c6db1748716f16a6039574f rack-1.4.5.gem"