summaryrefslogtreecommitdiff
path: root/strata/chef/net-ssh-gateway-1.2.0.morph
blob: 9cb0c36579d6fdf073dc4d1e4985210e0dccdc46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: net-ssh-gateway-1.2.0
kind: chunk
description: Automatically generated by rubygem.import
products:
- artifact: net-ssh-gateway-1.2.0-doc
  include:
  - usr/lib/ruby/gems/2.0.0/doc/.*
configure-commands:
# FIXME: this is a very simplistic way of disabling signing, the gemspec
# is arbitrary Ruby code and these regexps are certainly inadequate, although
# they tend to work. Better to fix `gem` so that it will build an unsigned
# Gem.
- sed -e '/signing_key =/ d' -e '/cert_chain =/ d' -i net-ssh-gateway.gemspec
build-commands:
- gem build net-ssh-gateway.gemspec
install-commands:
- mkdir -p "$DESTDIR/$PREFIX/lib/ruby/gems/2.0.0"
- gem install --install-dir "$DESTDIR/$PREFIX/lib/ruby/gems/2.0.0" --bindir "$DESTDIR/$PREFIX/bin"
  --ignore-dependencies --local ./net-ssh-gateway-1.2.0.gem
x-build-dependencies-rubygem: {}
x-runtime-dependencies-rubygem:
  net-ssh: 2.9.1