diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-07-07 10:01:07 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-07-07 10:01:07 +0000 |
commit | f6046f9b54c1f14d12a67fa66ca0c881b49e8ceb (patch) | |
tree | 7c4d5b1aa87b991fecb0b2c585514069947c3f0a /old/unmaintained/strata/chef/erubis-master.morph | |
parent | deba555368fd21316025c5ee0eaaf517b938775e (diff) | |
download | definitions-f6046f9b54c1f14d12a67fa66ca0c881b49e8ceb.tar.gz |
Move old Baserock format definitions into old/ directory
Diffstat (limited to 'old/unmaintained/strata/chef/erubis-master.morph')
-rw-r--r-- | old/unmaintained/strata/chef/erubis-master.morph | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/old/unmaintained/strata/chef/erubis-master.morph b/old/unmaintained/strata/chef/erubis-master.morph new file mode 100644 index 00000000..05d1a9f9 --- /dev/null +++ b/old/unmaintained/strata/chef/erubis-master.morph @@ -0,0 +1,19 @@ +name: erubis-master +kind: chunk +build-system: manual +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-2.7.0.gem |