2011-10-15 05:09:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libmp3splt < Formula
|
|
|
|
homepage 'http://mp3splt.sourceforge.net'
|
2012-11-12 21:01:59 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/mp3splt/libmp3splt/0.7.3/libmp3splt-0.7.3.tar.gz'
|
|
|
|
sha1 '3c26d1f64c8bd525938aa7f12a41817107ed3ded'
|
2012-05-17 23:44:30 +00:00
|
|
|
|
2012-07-09 21:39:28 +00:00
|
|
|
# Linking fails on 10.6 (and lower?) without a duplicate libtool; see #10350
|
2012-08-29 21:40:09 +00:00
|
|
|
depends_on 'libtool' => :build
|
2011-10-15 05:09:49 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'pcre'
|
|
|
|
depends_on 'libid3tag'
|
|
|
|
depends_on 'mad'
|
|
|
|
depends_on 'libvorbis'
|
|
|
|
|
|
|
|
def install
|
2012-05-17 23:44:30 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2011-10-15 05:09:49 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|