homebrew-core/Formula/libshout.rb
nibbles 2bits eab3479eb1 libshout: fix sha1, use official url
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>
2012-09-09 14:35:57 -07:00

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