aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-ntlm-http
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-ntlm-http
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-ntlm-http')
-rw-r--r--unmaintained/ruby-ntlm-http/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/unmaintained/ruby-ntlm-http/APKBUILD b/unmaintained/ruby-ntlm-http/APKBUILD
new file mode 100644
index 0000000000..757e2cc044
--- /dev/null
+++ b/unmaintained/ruby-ntlm-http/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+
+_gemname=ntlm-http
+pkgname=ruby-$_gemname
+pkgver=0.1.1
+pkgrel=0
+pkgdesc="Ruby/NTLM HTTP library."
+arch="noarch"
+url="http://www.mindflowsolutions.net"
+license="UNKNOWN"
+depends="ruby"
+depends_dev=
+makedepends="$depends_dev"
+source="https://rubygems.org/downloads/$_gemname-$pkgver.gem"
+_builddir="$srcdir"/$_gemname-$pkgver
+build() {
+ mkdir -p "$_builddir" || return 1
+ export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \
+ --ignore-dependencies \
+ --verbose \
+ --no-rdoc \
+ --no-ri \
+ || return 1
+ rm -rf "$pkgdir"/$_gemdir/cache \
+ "$pkgdir"/$_geminstdir/ext \
+ "$pkgdir"/$_geminstdir/.require_paths
+}
+
+package() {
+ mkdir -p "$pkgdir" || return 1
+ cp -ra "$_builddir"/* "$pkgdir"/ || return 1
+}
+md5sums="b505e299b6d4a34d54d57b0b24134be2 ntlm-http-0.1.1.gem"
+sha256sums="66b463ce8a9bf720045786df26cfec4a800f91fb7847af83f2fc209e9d0ba07b ntlm-http-0.1.1.gem"
+sha512sums="1d2868582a194fb3a3dcb48a7dfb031014e51a93d57afb83aaef98be8e57789506b71e6440770ca7bc48979d9dd730f398d01d554d6d0575ff01046a227c7669 ntlm-http-0.1.1.gem"