summaryrefslogtreecommitdiff
path: root/strata/chef/erubis-master.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/chef/erubis-master.morph')
-rw-r--r--strata/chef/erubis-master.morph7
1 files changed, 6 insertions, 1 deletions
diff --git a/strata/chef/erubis-master.morph b/strata/chef/erubis-master.morph
index 3fedd0d7..f15e0968 100644
--- a/strata/chef/erubis-master.morph
+++ b/strata/chef/erubis-master.morph
@@ -6,9 +6,14 @@ products:
- artifact: erubis-doc
include:
- usr/lib/ruby/gems/\d[\w.]*/doc/.*
+configure-commands:
+# Manually do what it seems like the 'rook' build system would do, if it worked
+# Values taken from 'Rookbook.props'.
+- find -type f -exec sed -e 's/\$Release\$/2.7.0/g' -i \{} \;
+- find -type f -exec sed -e 's/\$Copyright\$/copyright(c) 2006-2011 kuwata-lab.com all rights reserved./g' -i \{} \;
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
+ --ignore-dependencies --local ./erubis-2.7.0.gem