libvorbis: add --universal
Closes Homebrew/homebrew#19760. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
555497de8b
commit
ed6604febe
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,8 @@ class Libvorbis < Formula
|
|||
|
||||
head 'http://svn.xiph.org/trunk/vorbis'
|
||||
|
||||
option :universal
|
||||
|
||||
depends_on 'xz' => :build
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'libogg'
|
||||
|
@ -18,6 +20,8 @@ class Libvorbis < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
ENV.universal_binary if build.universal?
|
||||
|
||||
system "./autogen.sh" if build.head?
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
|
|
Loading…
Reference in a new issue