libaacs 0.6.0
Closes Homebrew/homebrew#19005. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
f9abcd0979
commit
16ded01cae
1 changed files with 12 additions and 10 deletions
|
@ -2,21 +2,23 @@ require 'formula'
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue