2010-03-07 12:39:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Dvdauthor < Formula
|
2010-03-07 12:39:42 +00:00
|
|
|
homepage 'http://dvdauthor.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/dvdauthor/dvdauthor/0.7.1/dvdauthor-0.7.1.tar.gz'
|
2012-11-04 17:09:09 +00:00
|
|
|
sha1 'a9636d165bf546e3e2b25b7397c33dbfa2895e6a'
|
2014-03-23 02:51:41 +00:00
|
|
|
revision 1
|
2012-08-23 05:53:50 +00:00
|
|
|
|
|
|
|
# Dvdauthor will optionally detect ImageMagick or GraphicsMagick, too.
|
|
|
|
# But we don't add either as deps because they are big.
|
2010-03-07 12:39:42 +00:00
|
|
|
|
2011-03-14 20:12:36 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-03-07 12:39:42 +00:00
|
|
|
depends_on 'libdvdread'
|
2014-03-23 02:51:41 +00:00
|
|
|
depends_on 'freetype'
|
|
|
|
depends_on 'libpng'
|
2010-03-07 12:39:42 +00:00
|
|
|
|
|
|
|
def install
|
2011-03-14 20:12:36 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-04-07 05:58:35 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-03-07 12:39:42 +00:00
|
|
|
system "make"
|
2011-03-14 20:12:36 +00:00
|
|
|
ENV.j1 # Install isn't parallel-safe
|
2010-03-07 12:39:42 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|