diff options
| author | richo | 2012-03-23 01:24:32 +1100 | 
|---|---|---|
| committer | Charlie Sharpsteen | 2012-04-22 10:52:40 -0700 | 
| commit | b599717f36e659eed0312a60f3307d79f4f57937 (patch) | |
| tree | 78e3c84de4eaf66b93166af1100f4feb559ec78b /Library/Formula/libvorbis.rb | |
| parent | 37965f8a44448bd71de9072e411367c80d4fd3bc (diff) | |
| download | homebrew-b599717f36e659eed0312a60f3307d79f4f57937.tar.bz2 | |
libogg, libvorbis: Add --HEAD
Closes #11146.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/libvorbis.rb')
| -rw-r--r-- | Library/Formula/libvorbis.rb | 15 | 
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/libvorbis.rb b/Library/Formula/libvorbis.rb index 22325d2d6..03c83d6e0 100644 --- a/Library/Formula/libvorbis.rb +++ b/Library/Formula/libvorbis.rb @@ -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"  | 
