summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim.macarthur@codethink.co.uk>2015-01-16 11:03:25 +0000
committerJim MacArthur <jim.macarthur@codethink.co.uk>2015-01-19 18:51:11 +0000
commit07288792ed964a054875ae265a963ab76876b214 (patch)
tree3a8539416819d009a9fb0caed17e3c565ddf9313
parent26f3e00112b4c2d5184671376d59605d23dd4ad9 (diff)
downloaddefinitions-07288792ed964a054875ae265a963ab76876b214.tar.gz
chef: Manually add morphs for non-standard Gem components
-rw-r--r--strata/chef/erubis-master.morph14
-rw-r--r--strata/chef/hoe-master.morph14
-rw-r--r--strata/chef/plist-master.morph14
3 files changed, 42 insertions, 0 deletions
diff --git a/strata/chef/erubis-master.morph b/strata/chef/erubis-master.morph
new file mode 100644
index 00000000..3fedd0d7
--- /dev/null
+++ b/strata/chef/erubis-master.morph
@@ -0,0 +1,14 @@
+---
+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
diff --git a/strata/chef/hoe-master.morph b/strata/chef/hoe-master.morph
new file mode 100644
index 00000000..9fe7ff8e
--- /dev/null
+++ b/strata/chef/hoe-master.morph
@@ -0,0 +1,14 @@
+---
+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
diff --git a/strata/chef/plist-master.morph b/strata/chef/plist-master.morph
new file mode 100644
index 00000000..bef39f7d
--- /dev/null
+++ b/strata/chef/plist-master.morph
@@ -0,0 +1,14 @@
+---
+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