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>
This commit is contained in:
nibbles 2bits 2012-09-09 14:17:25 -07:00 committed by Adam Vandenberg
parent 230619e2c7
commit eab3479eb1

View file

@ -1,9 +1,9 @@
require 'formula'
class Libshout < Formula
url 'http://downloads.us.xiph.org/releases/libshout/libshout-2.2.2.tar.gz'
homepage 'http://www.icecast.org/'
sha1 'cabc409e63f55383f4d85fac26d3056bf0365aac'
url 'http://downloads.xiph.org/releases/libshout/libshout-2.3.1.tar.gz'
sha1 '147c5670939727420d0e2ad6a20468e2c2db1e20'
depends_on 'pkg-config' => :build
depends_on 'libogg'
@ -13,7 +13,8 @@ class Libshout < Formula
depends_on 'speex' => :optional
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end