diff options
| author | Jack Nagel | 2014-03-19 20:21:15 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-19 20:43:53 -0500 |
| commit | 74cf2ebbaa9b179df21a6ba69d3701b14dcc5632 (patch) | |
| tree | d0baeb164f7791cb5d2d31d4c238195cd6cc3592 /Library/Formula/mp4v2.rb | |
| parent | 1670f7dac56f78c2bac9ac4b81592ab0d7918f50 (diff) | |
| download | homebrew-74cf2ebbaa9b179df21a6ba69d3701b14dcc5632.tar.bz2 | |
mp4v2: use patch DSL
Diffstat (limited to 'Library/Formula/mp4v2.rb')
| -rw-r--r-- | Library/Formula/mp4v2.rb | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Library/Formula/mp4v2.rb b/Library/Formula/mp4v2.rb index fa3feb0a4..50aceeccf 100644 --- a/Library/Formula/mp4v2.rb +++ b/Library/Formula/mp4v2.rb @@ -2,20 +2,21 @@ require 'formula' class Mp4v2 < Formula homepage 'http://code.google.com/p/mp4v2/' - url 'https://mp4v2.googlecode.com/files/mp4v2-1.9.1.tar.bz2' - sha1 'c62d00e99b65efce16accd83c501fb8a57206aa8' - devel do - url 'https://mp4v2.googlecode.com/files/mp4v2-trunk-r479.tar.bz2' - sha1 '1999b805d5e66dffbd95ec3a563758650e23bf60' - version 'r479' - end + stable do + url "https://mp4v2.googlecode.com/files/mp4v2-1.9.1.tar.bz2" + sha1 "c62d00e99b65efce16accd83c501fb8a57206aa8" - def patches # Fixes compile error on Lion w/Clang using a patch from svn: # http://code.google.com/p/mp4v2/source/detail?r=442 # It is inline because there's no direct link to the raw patch. - DATA unless build.devel? + patch :DATA + end + + devel do + url 'https://mp4v2.googlecode.com/files/mp4v2-trunk-r479.tar.bz2' + sha1 '1999b805d5e66dffbd95ec3a563758650e23bf60' + version 'r479' end def install |
