2014-07-14 03:53:25 +00:00
|
|
|
require "formula"
|
2012-11-01 20:50:26 +00:00
|
|
|
|
|
|
|
class Libaacs < Formula
|
2014-07-14 03:53:25 +00:00
|
|
|
homepage "https://www.videolan.org/developers/libaacs.html"
|
|
|
|
url "ftp://ftp.videolan.org/pub/videolan/libaacs/0.7.1/libaacs-0.7.1.tar.bz2"
|
|
|
|
mirror "http://videolan-nyc.defaultroute.com/libaacs/0.7.1/libaacs-0.7.1.tar.bz2"
|
|
|
|
sha1 "09eb61bcfceca77cd779c4475093dd22a0cb5510"
|
2012-11-01 20:50:26 +00:00
|
|
|
|
2014-07-03 17:36:37 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-10-21 08:58:31 +00:00
|
|
|
revision 1
|
|
|
|
sha1 "4835b5d14f3c078e60a1149648b6788ca49f523b" => :yosemite
|
|
|
|
sha1 "9352defc959c0587e4eaaab4f93e777139cdc964" => :mavericks
|
|
|
|
sha1 "69c286aeceb83e3e602872e03bc9eef3882c6631" => :mountain_lion
|
2014-07-03 17:36:37 +00:00
|
|
|
end
|
|
|
|
|
2013-09-22 01:47:08 +00:00
|
|
|
head do
|
2014-07-14 03:53:25 +00:00
|
|
|
url "git://git.videolan.org/libaacs.git"
|
2013-09-22 01:47:08 +00:00
|
|
|
|
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
|
|
|
|
|
2014-07-14 03:53:25 +00:00
|
|
|
depends_on "bison" => :build
|
|
|
|
depends_on "libgcrypt"
|
2012-11-01 20:50:26 +00:00
|
|
|
|
|
|
|
def install
|
2014-07-14 03:53:25 +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
|