summaryrefslogtreecommitdiff
path: root/chef/ffi-yajl-1.0.1.morph
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-07-25 16:03:36 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-07-31 16:15:48 +0000
commit524562e30d6dca5ed458308b772b503b7c7b37fc (patch)
tree68c2626116407dfba340139d42a6364717f30667 /chef/ffi-yajl-1.0.1.morph
parent0a3be548f9b817c8258d3e8bc029a3fee66a568d (diff)
downloaddefinitions-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/ffi-yajl-1.0.1.morph')
-rw-r--r--chef/ffi-yajl-1.0.1.morph15
1 files changed, 15 insertions, 0 deletions
diff --git a/chef/ffi-yajl-1.0.1.morph b/chef/ffi-yajl-1.0.1.morph
new file mode 100644
index 00000000..daf5f37c
--- /dev/null
+++ b/chef/ffi-yajl-1.0.1.morph
@@ -0,0 +1,15 @@
+---
+name: ffi-yajl-1.0.1
+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: ffi-yajl-1.0.1-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 ffi-yajl-1.0.1