diff options
| author | Jiayong Ou | 2009-10-13 15:14:22 +0200 |
|---|---|---|
| committer | Max Howell | 2009-10-19 13:48:34 +0100 |
| commit | d949318b0697069b1fd6a7020469a5f341fa70e2 (patch) | |
| tree | 754829feb2a46d96afd58f9e9a706a7e7c3ed5a7 | |
| parent | 12d2ccd29703fbe7f95a66821849ccc5bef57016 (diff) | |
| download | homebrew-d949318b0697069b1fd6a7020469a5f341fa70e2.tar.bz2 | |
madplay formula
A command-line front-end for the MAD decoder
| -rw-r--r-- | Library/Formula/madplay.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/madplay.rb b/Library/Formula/madplay.rb new file mode 100644 index 000000000..0eede0b49 --- /dev/null +++ b/Library/Formula/madplay.rb @@ -0,0 +1,19 @@ +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' + + depends_on 'mad' + depends_on 'libid3tag' + + def patches + {:p0 => "http://svn.macports.org/repository/macports/trunk/dports/audio/madplay/files/patch-audio_carbon.c"} + end + + def install + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + system "make install" + end +end |
