homebrew-core/Formula/mpg123.rb
nibbles 2bits 43e04451f0 mpg123 1.14.2
Upgrade mpg123 to version 1.14.2.  This is a bugfix release that
fixes wav output to stdout.

Closes Homebrew/homebrew#12257.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:13:25 -05:00

24 lines
667 B
Ruby

require 'formula'
class Mpg123 < Formula
homepage 'http://www.mpg123.de/'
url 'http://downloads.sourceforge.net/project/mpg123/mpg123/1.14.2/mpg123-1.14.2.tar.bz2'
mirror 'http://www.mpg123.de/download/mpg123-1.14.2.tar.bz2'
sha1 '887a453e49e3d49d539a712ee66a8d9da16e3325'
def install
args = ["--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
'--with-default-audio=coreaudio',
'--with-module-suffix=.so']
if MacOS.prefer_64_bit?
args << "--with-cpu=x86-64"
else
args << "--with-cpu=sse_alone"
end
system "./configure", *args
system "make install"
end
end