blob: 3f551ad2a3542824bc5d0edba64f9d1d12f17735 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class Libsndfile < Formula
homepage 'http://www.mega-nerd.com/libsndfile/'
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
end
|