aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libaacs.rb
blob: 494bbe174ff04a5fea4bdc52d4c5ea15f854ac1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require 'formula'

class Libaacs < Formula
  homepage 'http://www.videolan.org/developers/libaacs.html'
  url 'ftp://ftp.videolan.org/pub/videolan/libaacs/0.7.0/libaacs-0.7.0.tar.bz2'
  sha1 '461c0a6f143519cd6b24bf4be5e2672219b44780'
  revision 1

  head do
    url 'git://git.videolan.org/libaacs.git'

    depends_on :autoconf => :build
    depends_on :automake => :build
    depends_on :libtool  => :build
  end

  depends_on 'bison' => :build
  depends_on 'libgcrypt'

  def install
    system './bootstrap' if build.head?
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end