diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-06-12 13:52:24 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-06-12 13:56:16 +0000 |
commit | 51cfe949cfb6c29c257fdbbddcaf07779f2c16b9 (patch) | |
tree | 7a0c58052ef62052f1e98e9e319b0088b61d1803 /testing/ruby-rack14 | |
parent | d974a1e91a8d6727c482091a027ae5843257b1ed (diff) | |
download | aports-51cfe949cfb6c29c257fdbbddcaf07779f2c16b9.tar.bz2 aports-51cfe949cfb6c29c257fdbbddcaf07779f2c16b9.tar.xz |
testing/ruby-rack14: new aport (1.4 series)
Diffstat (limited to 'testing/ruby-rack14')
-rw-r--r-- | testing/ruby-rack14/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/ruby-rack14/APKBUILD b/testing/ruby-rack14/APKBUILD new file mode 100644 index 0000000000..b71b9a6f72 --- /dev/null +++ b/testing/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=0 +pkgdesc="Rack is a Ruby Webserver Interface" +url="http://rack.rubyforge.org/" +arch="noarch" +license="MIT" +depends="ruby" +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="6661d225210f6b48f83fb279aba0a149 rack-1.4.5.gem" +sha256sums="f7bf3faa8e09a2ff26475372de36a724e7470d6bdc33d189a0ec34b49605f308 rack-1.4.5.gem" +sha512sums="061e7134a845b1ad4371b17aec2aae15add75fa6ff26b4440102e11962b18d8f89b0598ee2497a3caa2677b84f42929d901afb5b1c6db1748716f16a6039574f rack-1.4.5.gem" |