aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2015-03-08 12:14:13 -0400
committerJack Nagel2015-03-09 20:59:19 -0400
commit1896105da79bd4e43d30a96dbaa40e98d4d31c90 (patch)
treecc7a1fa04bec2a90c632cbfc05aee314ca55f8d1 /Library/Formula
parent65b8dc1f298835f10c499f9d77fbb8d14cce5080 (diff)
downloadhomebrew-1896105da79bd4e43d30a96dbaa40e98d4d31c90.tar.bz2
moc: remove autotools bootstrap
Fixes #37501. Closes #37505. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/moc.rb24
1 files changed, 11 insertions, 13 deletions
diff --git a/Library/Formula/moc.rb b/Library/Formula/moc.rb
index a56dfe0fc..e63b4b83f 100644
--- a/Library/Formula/moc.rb
+++ b/Library/Formula/moc.rb
@@ -1,12 +1,7 @@
-require 'formula'
-
class Moc < Formula
homepage 'http://moc.daper.net'
-
- stable do
- url "http://ftp.daper.net/pub/soft/moc/stable/moc-2.5.0.tar.bz2"
- sha1 "a02c10075541995771dbdccb7f2d0ecd19d70b81"
- end
+ url "http://ftp.daper.net/pub/soft/moc/stable/moc-2.5.0.tar.bz2"
+ sha1 "a02c10075541995771dbdccb7f2d0ecd19d70b81"
bottle do
sha1 "1a08c15f965d74614f142ee8ec2bea75b5d999cd" => :yosemite
@@ -14,15 +9,18 @@ class Moc < Formula
sha1 "876c8a6cbf642db773e6c65794e7632422e9cafa" => :mountain_lion
end
- head 'svn://daper.net/moc/trunk'
+ head do
+ url "svn://daper.net/moc/trunk"
+
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "gettext" => :build
+ end
option 'with-ncurses', 'Build with wide character support.'
depends_on 'pkg-config' => :build
- depends_on 'gettext' => :build
- depends_on 'autoconf' => :build
- depends_on 'automake' => :build
- depends_on 'libtool' => :build
+ depends_on "libtool" => :run
depends_on 'berkeley-db'
depends_on 'jack'
depends_on 'ffmpeg' => :recommended
@@ -38,7 +36,7 @@ class Moc < Formula
depends_on 'homebrew/dupes/ncurses' => :optional
def install
- system "autoreconf", "-i" # required to fix ffmpeg issues (updated ffmpeg.m4)
+ system "autoreconf", "-fvi" if build.head?
system "./configure", "--disable-debug", "--prefix=#{prefix}"
system "make", "install"
end