diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-07-25 16:03:36 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-07-31 16:15:48 +0000 |
commit | 524562e30d6dca5ed458308b772b503b7c7b37fc (patch) | |
tree | 68c2626116407dfba340139d42a6364717f30667 /chef/erubis-2.7.0.morph | |
parent | 0a3be548f9b817c8258d3e8bc029a3fee66a568d (diff) | |
download | definitions-524562e30d6dca5ed458308b772b503b7c7b37fc.tar.gz |
Chef imported into Baserock, prototype #2
Taking advantage of the new work in Morph 'master' allowing chunk morphs
to go in definitions, we can now treat each Gem as a chunk, and with a
bit of hackery, make fetching and compiling+installing the Gem from
http://rubygems.org/ look like a normal Morph build. To avoid the
hackery we need to introduce a separate build-mode, probably, but this
is a start!
Diffstat (limited to 'chef/erubis-2.7.0.morph')
-rw-r--r-- | chef/erubis-2.7.0.morph | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chef/erubis-2.7.0.morph b/chef/erubis-2.7.0.morph new file mode 100644 index 00000000..42ac59da --- /dev/null +++ b/chef/erubis-2.7.0.morph @@ -0,0 +1,15 @@ +--- +name: erubis-2.7.0 +kind: chunk +description: Automatically generated by import-ruby. This is a prototype of a method + for integrating RubyGems into Baserock. +build-system: manual +products: +- artifact: erubis-2.7.0-doc + include: + - usr/lib/ruby/gems/2.0.0/doc/.* +install-commands: +- 'echo '':sources: [ "http://54.186.104.15/" ]'' >> ~/.gemrc' +- 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 erubis-2.7.0 |