Permalink
Browse files

libaacs: update to 0.6.0

  • Loading branch information...
1 parent b788428 commit ba52fd78bef1a7d819ce20e051a3beae7a68c353 @pigoz committed Apr 6, 2013
Showing with 12 additions and 10 deletions.
  1. +12 −10 Library/Formula/libaacs.rb
View
@@ -2,21 +2,23 @@
class Libaacs < Formula
homepage 'http://www.videolan.org/developers/libaacs.html'
- url 'ftp://ftp.videolan.org/pub/videolan/libaacs/0.5.0/libaacs-0.5.0.tar.bz2'
- sha1 'f46f97e4c25ab6a43d59471a3a80d2aa8b0cb8ca'
+ url 'ftp://ftp.videolan.org/pub/videolan/libaacs/0.6.0/libaacs-0.6.0.tar.bz2'
+ sha1 'b0b82875c43f5bd8f28a249d0fc1eba48420b9e8'
+ head 'git://git.videolan.org/libaacs.git'
- depends_on :autoconf
- depends_on :automake
- depends_on :libtool
+ if build.head?
+ depends_on :autoconf => :build
+ depends_on :automake => :build
+ depends_on :libtool => :build
+ end
+
+ depends_on 'bison' => :build
depends_on 'libgcrypt'
def install
- inreplace 'configure.ac', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
- system './bootstrap'
+ system './bootstrap' if build.head?
system "./configure", "--disable-dependency-tracking",
- "--disable-debug",
- "--prefix=#{prefix}",
- "--disable-extra-warnings"
+ "--prefix=#{prefix}"
system "make install"
end
end

0 comments on commit ba52fd7

Please sign in to comment.