homebrew-core/Formula/podofo.rb
Jack Nagel c7630f5ff4 Use new std_cmake_args method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-22 22:22:00 -05:00

26 lines
634 B
Ruby

require 'formula'
class Podofo < Formula
homepage 'http://podofo.sourceforge.net'
url 'http://downloads.sourceforge.net/podofo/podofo-0.9.1.tar.gz'
md5 'cec586ab69f92bc88d38b5d4b8eee5a0'
depends_on 'pkg-config' => :build
depends_on 'cmake' => :build
depends_on 'jpeg'
depends_on 'libtiff'
depends_on 'lua'
def install
ENV.x11 # For Freetype and Fontconfig
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