homebrew-core/Formula/podofo.rb

25 lines
613 B
Ruby
Raw Normal View History

require 'formula'
class Podofo < Formula
homepage 'http://podofo.sourceforge.net'
url 'http://downloads.sourceforge.net/podofo/podofo-0.9.1.tar.gz'
sha1 'd04c26b93dcf5f82a8dd90e02df6de95fb98ef47'
depends_on 'cmake' => :build
2012-09-02 08:09:50 +00:00
depends_on :libpng
depends_on :freetype
depends_on :fontconfig
depends_on 'jpeg'
depends_on 'libtiff'
def install
2012-02-22 04:48:36 +00:00
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