homebrew-core/Formula/libmp3splt.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

23 lines
702 B
Ruby

require 'formula'
class Libmp3splt < Formula
homepage 'http://mp3splt.sourceforge.net'
url 'https://downloads.sourceforge.net/project/mp3splt/libmp3splt/0.8.2/libmp3splt-0.8.2.tar.gz'
sha1 '5c8539391e26d047c30360b1dde2c08e6a02061f'
# Linking fails on 10.6 (and lower?) without a duplicate libtool; see #10350
depends_on 'libtool' => :build
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