sound-touch 1.7.1

Updated sound-touch to version 1.7.1 (latest atm) and fixed error in
configure.ac causing the installation to error out and quit.
Had to replace AM_CONFIG_HEADER with AC_CONFIG_HEADER.

Closes Homebrew/homebrew#18811.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
David Jennes 2013-03-29 01:52:59 +01:00 committed by Adam Vandenberg
parent f0630c08a8
commit 7a7df55186

View file

@ -2,13 +2,18 @@ require 'formula'
class SoundTouch < Formula
homepage 'http://www.surina.net/soundtouch/'
url 'http://www.surina.net/soundtouch/soundtouch-1.6.0.tar.gz'
sha256 '8776edaf7299ffe1e8c97285f020365a63c0e01aa4f6f7c5fd1d011c0ded278f'
url 'http://www.surina.net/soundtouch/soundtouch-1.7.1.tar.gz'
sha256 '385eafa438a9d31ddf84b8d2f713097a3f1fc93d7abdb2fc54c484b777ee0267'
depends_on :autoconf
depends_on :automake
depends_on :libtool
# Fix autoreconf error
def patches
DATA
end
def install
# SoundTouch has a small amount of inline assembly. The assembly has two labeled
# jumps. When compiling with gcc optimizations the inline assembly is duplicated
@ -23,3 +28,16 @@ class SoundTouch < Formula
system "make install"
end
end
__END__
--- soundtouch/configure.ac
+++ soundtouch/configure.ac
@@ -21,7 +21,7 @@
AC_INIT(SoundTouch, 1.7.0, [http://www.surina.net/soundtouch])
AC_CONFIG_AUX_DIR(config)
-AM_CONFIG_HEADER([include/soundtouch_config.h])
+AC_CONFIG_HEADER([include/soundtouch_config.h])
AM_INIT_AUTOMAKE
#AC_DISABLE_SHARED dnl This makes libtool only build static libs
AC_DISABLE_STATIC dnl This makes libtool only build shared libs