diff options
| author | Max Howell | 2009-08-07 15:16:18 +0100 | 
|---|---|---|
| committer | Max Howell | 2009-08-10 18:12:16 +0100 | 
| commit | f0ea5b96d67041ed878cd6d9713b05e3b757dacd (patch) | |
| tree | 6c615a88aeb13de772c871f9b8fb3dc2e26fcbbe /Library/Formula/mpg123.rb | |
| parent | 320c05133eb4a87c963712f6033f97e083c1d17d (diff) | |
| download | homebrew-f0ea5b96d67041ed878cd6d9713b05e3b757dacd.tar.bz2 | |
mpg123 formula
Diffstat (limited to 'Library/Formula/mpg123.rb')
| -rw-r--r-- | Library/Formula/mpg123.rb | 24 | 
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/mpg123.rb b/Library/Formula/mpg123.rb new file mode 100644 index 000000000..0b24399b2 --- /dev/null +++ b/Library/Formula/mpg123.rb @@ -0,0 +1,24 @@ +require 'brewkit' + +class Mpg123 <Formula +  @url='http://sourceforge.net/projects/mpg123/files/mpg123/mpg123-1.8.1.tar.bz2' +  @homepage='http://www.mpg123.de/' +  @md5='856893f14b29b1cddf4aba32469860b4' + +  def skip_clean? path +    # mpg123 can't find its plugins if there are no la files +    path.extname == '.la' +  end + +  def install +    # otherwise the exe segfaults, I couldn't diagnose why +    ENV.osx_10_4 +    ENV.gcc_4_0_1 + +    system "./configure", "--disable-debug", +                          "--with-optimization=4", +                          "--with-cpu=sse_alone", +                          "--prefix=#{prefix}" +    system "make install" +  end +end
\ No newline at end of file  | 
