eab3479eb1
libshout fails sha1 check when trying to install it. - Change to the download url given on their webpage (no .us.) - Fix the sha1 hash. Both old and new urls have this hash. - Compiles well using clang and superenv. Closes Homebrew/homebrew#14823. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
20 lines
536 B
Ruby
20 lines
536 B
Ruby
require 'formula'
|
|
|
|
class Libshout < Formula
|
|
homepage 'http://www.icecast.org/'
|
|
url 'http://downloads.xiph.org/releases/libshout/libshout-2.3.1.tar.gz'
|
|
sha1 '147c5670939727420d0e2ad6a20468e2c2db1e20'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'libogg'
|
|
depends_on 'libvorbis'
|
|
|
|
depends_on 'theora' => :optional
|
|
depends_on 'speex' => :optional
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|