aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sound-touch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/sound-touch.rb')
-rw-r--r--Library/Formula/sound-touch.rb25
1 files changed, 4 insertions, 21 deletions
diff --git a/Library/Formula/sound-touch.rb b/Library/Formula/sound-touch.rb
index dd54556aa..71686b905 100644
--- a/Library/Formula/sound-touch.rb
+++ b/Library/Formula/sound-touch.rb
@@ -5,12 +5,9 @@ class SoundTouch < Formula
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
- patch :DATA
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
def install
# SoundTouch has a small amount of inline assembly. The assembly has two labeled
@@ -20,22 +17,8 @@ class SoundTouch < Formula
# 64bit causes soundstretch to segfault when ever it is run.
ENV.m32
- # The tarball doesn't contain a configure script, so we have to bootstrap.
- system "/bin/sh bootstrap"
+ system "/bin/sh", "bootstrap"
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
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