2012-11-01 20:50:26 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libaacs < Formula
|
|
|
|
homepage 'http://www.videolan.org/developers/libaacs.html'
|
2014-01-25 21:12:53 +00:00
|
|
|
url 'ftp://ftp.videolan.org/pub/videolan/libaacs/0.7.0/libaacs-0.7.0.tar.bz2'
|
|
|
|
sha1 '461c0a6f143519cd6b24bf4be5e2672219b44780'
|
2014-03-06 15:28:03 +00:00
|
|
|
revision 1
|
2012-11-01 20:50:26 +00:00
|
|
|
|
2014-07-03 17:36:37 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "55c20042708796483b4e46af4825fff708bd6bdb" => :mavericks
|
|
|
|
sha1 "538f3413ca66af218def8fec70414de82315a2f2" => :mountain_lion
|
|
|
|
sha1 "ec113ed356983ea28c0f0d656d3964a50c4e7653" => :lion
|
|
|
|
end
|
|
|
|
|
2013-09-22 01:47:08 +00:00
|
|
|
head do
|
|
|
|
url 'git://git.videolan.org/libaacs.git'
|
|
|
|
|
2014-05-23 21:17:35 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
2013-04-06 11:56:27 +00:00
|
|
|
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
|