aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/madplay.rb13
1 files changed, 6 insertions, 7 deletions
diff --git a/Library/Formula/madplay.rb b/Library/Formula/madplay.rb
index de5f6ae9c..d8181b107 100644
--- a/Library/Formula/madplay.rb
+++ b/Library/Formula/madplay.rb
@@ -1,13 +1,10 @@
require 'formula'
class Madplay < Formula
+ homepage 'http://www.underbit.com/products/mad/'
url 'http://downloads.sourceforge.net/project/mad/madplay/0.15.2b/madplay-0.15.2b.tar.gz'
md5 '6814b47ceaa99880c754c5195aa1aac1'
- def homepage
- Formula.factory('mad').homepage
- end
-
depends_on 'mad'
depends_on 'libid3tag'
@@ -16,10 +13,12 @@ class Madplay < Formula
end
def install
- configure_flags = ["--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"]
+ args = ["--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}"]
# Avoid "error: CPU you selected does not support x86-64 instruction set"
- configure_flags << "--build=x86_64" if MacOS.prefer_64_bit?
- system "./configure", *configure_flags
+ args << "--build=x86_64" if MacOS.prefer_64_bit?
+ system "./configure", *args
system "make install"
end
end