2012-11-01 20:50:26 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libaacs < Formula
|
|
|
|
homepage 'http://www.videolan.org/developers/libaacs.html'
|
2013-04-06 11:56:27 +00:00
|
|
|
url 'ftp://ftp.videolan.org/pub/videolan/libaacs/0.6.0/libaacs-0.6.0.tar.bz2'
|
|
|
|
sha1 'b0b82875c43f5bd8f28a249d0fc1eba48420b9e8'
|
2012-11-01 20:50:26 +00:00
|
|
|
|
2013-09-22 01:47:08 +00:00
|
|
|
head do
|
|
|
|
url 'git://git.videolan.org/libaacs.git'
|
|
|
|
|
2013-04-06 11:56:27 +00:00
|
|
|
depends_on :autoconf => :build
|
|
|
|
depends_on :automake => :build
|
|
|
|
depends_on :libtool => :build
|
|
|
|
end
|
|
|
|
|
|
|
|
depends_on 'bison' => :build
|
2012-11-01 20:50:26 +00:00
|
|
|
depends_on 'libgcrypt'
|
|
|
|
|
|
|
|
def install
|
2013-04-06 11:56:27 +00:00
|
|
|
system './bootstrap' if build.head?
|
2012-11-01 20:50:26 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2013-04-06 11:56:27 +00:00
|
|
|
"--prefix=#{prefix}"
|
2012-11-01 20:50:26 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|