libogg, libvorbis: Add --HEAD
Closes Homebrew/homebrew#11146. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
parent
8a95ee125e
commit
63f776360f
2 changed files with 30 additions and 0 deletions
|
@ -5,7 +5,22 @@ class Libogg < Formula
|
|||
url 'http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz'
|
||||
md5 '0a7eb40b86ac050db3a789ab65fe21c2'
|
||||
|
||||
head 'http://svn.xiph.org/trunk/ogg', :using => :svn
|
||||
|
||||
if ARGV.build_head?
|
||||
depends_on "automake" => :build
|
||||
|
||||
if MacOS.xcode_version >= "4.3"
|
||||
depends_on "libtool" => :build
|
||||
depends_on "autoconf" => :build
|
||||
end
|
||||
end
|
||||
|
||||
def install
|
||||
if ARGV.build_head?
|
||||
system "./autogen.sh"
|
||||
end
|
||||
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make"
|
||||
|
|
|
@ -5,10 +5,25 @@ class Libvorbis < Formula
|
|||
md5 '798a4211221073c1409f26eac4567e8b'
|
||||
homepage 'http://vorbis.com'
|
||||
|
||||
head 'http://svn.xiph.org/trunk/vorbis', :using => :svn
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'libogg'
|
||||
|
||||
if ARGV.build_head?
|
||||
depends_on "automake" => :build
|
||||
|
||||
if MacOS.xcode_version >= "4.3"
|
||||
depends_on "libtool" => :build
|
||||
depends_on "autoconf" => :build
|
||||
end
|
||||
end
|
||||
|
||||
def install
|
||||
if ARGV.build_head?
|
||||
system "./autogen.sh"
|
||||
end
|
||||
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make install"
|
||||
|
|
Loading…
Reference in a new issue