summaryrefslogtreecommitdiff
path: root/chef/rspec-core-2.14.8.morph
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-07-25 16:03:36 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-08-28 12:49:04 +0000
commitf15f9f70b488d1c9cc1d4da30f343374c4e43ff3 (patch)
treefa5179b072252bd40bf9a144824706f8ffadb838 /chef/rspec-core-2.14.8.morph
parent5e0b3df470ee1be98d0787e221e99f5a44873441 (diff)
downloaddefinitions-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/rspec-core-2.14.8.morph')
-rw-r--r--chef/rspec-core-2.14.8.morph15
1 files changed, 15 insertions, 0 deletions
diff --git a/chef/rspec-core-2.14.8.morph b/chef/rspec-core-2.14.8.morph
new file mode 100644
index 00000000..7b6b26f3
--- /dev/null
+++ b/chef/rspec-core-2.14.8.morph
@@ -0,0 +1,15 @@
+---
+name: rspec-core-2.14.8
+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: rspec-core-2.14.8-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 rspec-core-2.14.8