aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/activemq-cpp.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-13 19:51:23 -0500
committerJack Nagel2014-03-13 21:35:41 -0500
commitee354c9e194069d8e7a92df1cd941b857ee01b38 (patch)
treec043cf463916d79824b4cb5ffd18195a58662a1c /Library/Formula/activemq-cpp.rb
parentf9938b5e5022b2b8b9e52c89bd4a5d2789dd3b87 (diff)
downloadhomebrew-ee354c9e194069d8e7a92df1cd941b857ee01b38.tar.bz2
New patch implementation and DSL
This commit introduces a new patch implementation that supports checksums and caching. Patches are declared in blocks: patch do url ... sha1 ... end A strip level of -p1 is assumed. It can be overridden using a symbol argument: patch :p0 do url ... sha1 ... end Patches can be declared in stable, devel, and head blocks. This form is preferred over using conditionals. stable do # ... patch do url ... sha1 ... end end Embedded (__END__) patches are declared like so: patch :DATA patch :p0, :DATA Patches can also be embedded by passing a string. This makes it possible to provide multiple embedded patches while making only some of them conditional. patch :p0, "..."
Diffstat (limited to 'Library/Formula/activemq-cpp.rb')
0 files changed, 0 insertions, 0 deletions