homebrew-core/Formula/libmp3splt.rb
Misty De Meo 5f1e49d45a libmp3splt: remove autoconf dupe and autogen.sh
libmp3splt on 10.6 still requires a libtool dupe, though.
2012-07-09 16:58:55 -05:00

26 lines
722 B
Ruby

require 'formula'
class Libmp3splt < Formula
homepage 'http://mp3splt.sourceforge.net'
url 'http://downloads.sourceforge.net/project/mp3splt/libmp3splt/0.7.2/libmp3splt-0.7.2.tar.gz'
md5 '848817d1d980729aec99bbc62caddd76'
# Linking fails on 10.6 (and lower?) without a duplicate libtool; see #10350
unless MacOS.lion?
depends_on 'libtool' => :build
end
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'pcre'
depends_on 'libid3tag'
depends_on 'mad'
depends_on 'libvorbis'
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end