aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-16 21:35:21 -0500
committerJack Nagel2014-03-16 21:35:21 -0500
commit8466da76fe16a5d680624cb09e0af437b9691deb (patch)
tree7887597c002b273da9f405e87dcca36ef6976f41 /Library/Formula
parent122e0ff2fe9ce74b2d3dcf94eeff58c307e5aab3 (diff)
downloadhomebrew-8466da76fe16a5d680624cb09e0af437b9691deb.tar.bz2
moc: use checksummed patches
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/moc.rb21
1 files changed, 12 insertions, 9 deletions
diff --git a/Library/Formula/moc.rb b/Library/Formula/moc.rb
index 3611cbc6c..a295a1459 100644
--- a/Library/Formula/moc.rb
+++ b/Library/Formula/moc.rb
@@ -2,8 +2,18 @@ require 'formula'
class Moc < Formula
homepage 'http://moc.daper.net'
- url 'http://ftp.daper.net/pub/soft/moc/unstable/moc-2.5.0-beta1.tar.bz2'
- sha1 '4030a1fa5c7cfef06909c54d8c7a1fbb93f23caa'
+
+ stable do
+ url "http://ftp.daper.net/pub/soft/moc/unstable/moc-2.5.0-beta1.tar.bz2"
+ sha1 "4030a1fa5c7cfef06909c54d8c7a1fbb93f23caa"
+
+ # Patches up to r2544 (HEAD at 2013-08-13)
+ patch :p0 do
+ url "https://gist.github.com/toroidal-code/6310844/raw/23c460144b64040eb6c3117693fd7e129a462b26/ffmpeg-patch.diff"
+ sha1 "55d64d17b320b391a5c11f502417fa8353498b37"
+ end
+ end
+
head 'svn://daper.net/moc/trunk'
option 'with-ncurses', 'Build with wide character support.'
@@ -27,13 +37,6 @@ class Moc < Formula
depends_on 'libmagic' => :optional
depends_on 'homebrew/dupes/ncurses' => :optional
- def patches
- unless build.head?
- # Patches up to r2544 (HEAD at 2013-08-13)
- { :p0 => 'https://gist.github.com/toroidal-code/6310844/raw/23c460144b64040eb6c3117693fd7e129a462b26/ffmpeg-patch.diff' }
- end
- end
-
def install
system "autoreconf", "-i" # required to fix ffmpeg issues (updated ffmpeg.m4)
system "./configure", "--disable-debug", "--prefix=#{prefix}"