aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorirh2011-07-19 01:16:25 +0100
committerAdam Vandenberg2011-07-20 08:04:25 -0700
commit1f5aa1a109b3e7e78f958264e367d861ac97ebaa (patch)
tree20c69657873b2fe16ee0742c6ea38234cdb4a8ce /Library
parentfff451e3a498603e3982f8d06dafbc9ce06c41cf (diff)
downloadhomebrew-1f5aa1a109b3e7e78f958264e367d861ac97ebaa.tar.bz2
libsndfile: universal option and update to 1.0.25
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libsndfile.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/libsndfile.rb b/Library/Formula/libsndfile.rb
index e9a872f85..3f551ad2a 100644
--- a/Library/Formula/libsndfile.rb
+++ b/Library/Formula/libsndfile.rb
@@ -2,12 +2,18 @@ require 'formula'
class Libsndfile < Formula
homepage 'http://www.mega-nerd.com/libsndfile/'
- url 'http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.23.tar.gz'
- md5 'd0e22b5ff2ef945615db33960376d733'
+ url 'http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz'
+ md5 'e2b7bb637e01022c7d20f95f9c3990a2'
depends_on 'pkg-config' => :build
+ def options
+ [["--universal", "Build a universal binary."]]
+ end
+
def install
+ ENV.universal_binary if ARGV.build_universal?
+
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end