summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-11 18:37:28 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-12 09:53:30 +0100
commitc93c3357656a48ac45d00e38e7bd938b89214a55 (patch)
tree34ac780725c21d522c03a192919d913dde38fd8c
parent03180965b4eba6b53bf8e857924d98ec5564cceb (diff)
downloaddefinitions-c93c3357656a48ac45d00e38e7bd938b89214a55.tar.gz
chef: Manually add morphs for non-standard Gem components
-rw-r--r--strata/chef/erubis-master.morph16
-rw-r--r--strata/chef/hoe-master.morph16
-rw-r--r--strata/chef/plist-master.morph16
3 files changed, 48 insertions, 0 deletions
diff --git a/strata/chef/erubis-master.morph b/strata/chef/erubis-master.morph
new file mode 100644
index 00000000..38e7d0cf
--- /dev/null
+++ b/strata/chef/erubis-master.morph
@@ -0,0 +1,16 @@
+---
+name: erubis-master
+kind: chunk
+build-system: manual
+products:
+- artifact: erubis-doc
+ include:
+ - usr/lib/ruby/gems/\d[\w.]*/doc/.*
+build-commands:
+- gem build erubis.gemspec
+install-commands:
+- mkdir -p "$DESTDIR/$(gem environment home)"
+- gem install --install-dir "$DESTDIR/$(gem environment home)" --bindir "$DESTDIR/$PREFIX/bin"
+ --ignore-dependencies --local ./erubis-master.gem
+x-build-dependencies-rubygems: {}
+x-runtime-dependencies-rubygems: {}
diff --git a/strata/chef/hoe-master.morph b/strata/chef/hoe-master.morph
new file mode 100644
index 00000000..7c553ad0
--- /dev/null
+++ b/strata/chef/hoe-master.morph
@@ -0,0 +1,16 @@
+---
+name: hoe-master
+kind: chunk
+build-system: manual
+products:
+- artifact: hoe-doc
+ include:
+ - usr/lib/ruby/gems/\d[\w.]*/doc/.*
+build-commands:
+- rake gem
+install-commands:
+- mkdir -p "$DESTDIR/$(gem environment home)"
+- gem install --install-dir "$DESTDIR/$(gem environment home)" --bindir "$DESTDIR/$PREFIX/bin"
+ --ignore-dependencies --local ./pkg/hoe-3.12.0.gem
+x-build-dependencies-rubygems: {}
+x-runtime-dependencies-rubygems: {}
diff --git a/strata/chef/plist-master.morph b/strata/chef/plist-master.morph
new file mode 100644
index 00000000..430c597b
--- /dev/null
+++ b/strata/chef/plist-master.morph
@@ -0,0 +1,16 @@
+---
+name: plist-master
+kind: chunk
+build-system: manual
+products:
+- artifact: plist-doc
+ include:
+ - usr/lib/ruby/gems/\d[\w.]*/doc/.*
+build-commands:
+- rake gem
+install-commands:
+- mkdir -p "$DESTDIR/$(gem environment home)"
+- gem install --install-dir "$DESTDIR/$(gem environment home)" --bindir "$DESTDIR/$PREFIX/bin"
+ --ignore-dependencies --local ./pkg/plist-3.1.0.gem
+x-build-dependencies-rubygems: {}
+x-runtime-dependencies-rubygems: {}