homebrew-core/Formula/podofo.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

24 lines
614 B
Ruby

require 'formula'
class Podofo < Formula
homepage 'http://podofo.sourceforge.net'
url 'https://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