summaryrefslogtreecommitdiff
path: root/strata/chef/erubis-master.morph
blob: 05d1a9f9e50b4b71eedd74ef4833d54a826b9858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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