homebrew-core/Formula/dvdauthor.rb

25 lines
741 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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'
# Dvdauthor will optionally detect ImageMagick or GraphicsMagick, too.
# But we don't add either as deps because they are big.
2011-03-14 20:12:36 +00:00
depends_on 'pkg-config' => :build
depends_on 'libdvdread'
depends_on :freetype
depends_on :libpng
def install
2011-03-14 20:12:36 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make"
2011-03-14 20:12:36 +00:00
ENV.j1 # Install isn't parallel-safe
system "make install"
end
end