Skip to content

Instantly share code, notes, and snippets.

@boblail
Forked from Echos/pdftk.rb
Last active December 16, 2015 00:39
Show Gist options
  • Save boblail/5349628 to your computer and use it in GitHub Desktop.
Save boblail/5349628 to your computer and use it in GitHub Desktop.
require 'formula'
class Pdftk < Formula
url 'http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-1.44-src.zip'
homepage 'http://www.pdflabs.com/'
md5 '9eb50fffcd621a627d387750c60982b4'
# depends_on 'gcc' # with "--enable-java" option , required "Homebrew-alt" .
# via : https://github.com/adamv/homebrew-alt/
def install
cd "pdftk" do
system "make -f Makefile.OSX-10.6 TOOLPATH=/usr/local/bin/ VERSUFF=-4.6"
system "make -f Makefile.OSX-10.6 install TOOLPATH=/usr/local/bin/ VERSUFF=-4.6"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment