diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-07-25 16:03:36 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-08-28 12:49:04 +0000 |
commit | f15f9f70b488d1c9cc1d4da30f343374c4e43ff3 (patch) | |
tree | fa5179b072252bd40bf9a144824706f8ffadb838 /chef/slop-3.6.0.morph | |
parent | 5e0b3df470ee1be98d0787e221e99f5a44873441 (diff) | |
download | definitions-f15f9f70b488d1c9cc1d4da30f343374c4e43ff3.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/slop-3.6.0.morph')
-rw-r--r-- | chef/slop-3.6.0.morph | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chef/slop-3.6.0.morph b/chef/slop-3.6.0.morph new file mode 100644 index 00000000..1954c3fb --- /dev/null +++ b/chef/slop-3.6.0.morph @@ -0,0 +1,15 @@ +--- +name: slop-3.6.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: slop-3.6.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 slop-3.6.0 |