blob: 3df482314c31086753327bf72f18eef198838dcc (
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
 | require 'formula'
class Dvdauthor < Formula
  homepage 'http://dvdauthor.sourceforge.net/'
  url 'https://downloads.sourceforge.net/project/dvdauthor/dvdauthor/0.7.1/dvdauthor-0.7.1.tar.gz'
  sha1 'a9636d165bf546e3e2b25b7397c33dbfa2895e6a'
  revision 1
  # Dvdauthor will optionally detect ImageMagick or GraphicsMagick, too.
  # But we don't add either as deps because they are big.
  depends_on 'pkg-config' => :build
  depends_on 'libdvdread'
  depends_on 'freetype'
  depends_on 'libpng'
  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make"
    ENV.j1 # Install isn't parallel-safe
    system "make install"
  end
end
 |