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"
|
2015-05-26 14:18:29 +00:00
|
|
|
url "ftp://ftp.videolan.org/pub/videolan/libaacs/0.8.1/libaacs-0.8.1.tar.bz2"
|
|
|
|
mirror "http://videolan-nyc.defaultroute.com/libaacs/0.8.1/libaacs-0.8.1.tar.bz2"
|
|
|
|
sha256 "95c344a02c47c9753c50a5386fdfb8313f9e4e95949a5c523a452f0bcb01bbe8"
|
2012-11-01 20:50:26 +00:00
|
|
|
|
2014-07-03 17:36:37 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-05-26 16:34:19 +00:00
|
|
|
sha256 "7400d1add43105cc37e0f0901b8ec697e9173289f5551929a63939c16147e11e" => :yosemite
|
|
|
|
sha256 "023017918e674900f04616fbd4a312627b632236f7aa290e9b05ba0b03c90288" => :mavericks
|
|
|
|
sha256 "294596adf06da1cf609775be4cd03b4abc150208dddb62f6bfb893169dc8ed15" => :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
|