homebrew-core/Formula/podofo.rb
2013-11-09 19:39:00 -06:00

24 lines
613 B
Ruby

require 'formula'
class Podofo < Formula
homepage 'http://podofo.sourceforge.net'
url 'http://downloads.sourceforge.net/podofo/podofo-0.9.2.tar.gz'
sha1 '8a6e27e17e0ed9f12e1a999cff66eae8eb97a4bc'
depends_on 'cmake' => :build
depends_on :libpng
depends_on :freetype
depends_on :fontconfig
depends_on 'jpeg'
depends_on 'libtiff'
def install
mkdir 'build' do
# Build shared to simplify linking for other programs.
system "cmake", "..",
"-DPODOFO_BUILD_SHARED:BOOL=TRUE",
*std_cmake_args
system "make install"
end
end
end