Skip to content

Instantly share code, notes, and snippets.

@Echos
Created March 3, 2012 02:29
Show Gist options
  • Select an option

  • Save Echos/1963857 to your computer and use it in GitHub Desktop.

Select an option

Save Echos/1963857 to your computer and use it in GitHub Desktop.

Revisions

  1. Echos revised this gist Mar 3, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions pdftk.rb
    Original file line number Diff line number Diff line change
    @@ -9,8 +9,8 @@ class Pdftk < Formula
    # via : https://github.com/adamv/homebrew-alt/
    def install
    cd "pdftk" do
    system "make -f Makefile.OSX-10.6"
    system "make -f Makefile.OSX-10.6 install"
    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
  2. Echos revised this gist Mar 3, 2012. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions pdftk.rb
    Original file line number Diff line number Diff line change
    @@ -5,12 +5,12 @@ class Pdftk < Formula
    homepage 'http://www.pdflabs.com/'
    md5 '9eb50fffcd621a627d387750c60982b4'

    depends_on 'gcc' # required "Homebrew-alt"
    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 pdftk/Makefile.OSX-10.6"
    system "make -f pdftk/Makefile.OSX-10.6 install"
    system "make -f Makefile.OSX-10.6"
    system "make -f Makefile.OSX-10.6 install"
    end
    end
    end
  3. Echos created this gist Mar 3, 2012.
    16 changes: 16 additions & 0 deletions pdftk.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    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' # required "Homebrew-alt"
    # via : https://github.com/adamv/homebrew-alt/
    def install
    cd "pdftk" do
    system "make -f pdftk/Makefile.OSX-10.6"
    system "make -f pdftk/Makefile.OSX-10.6 install"
    end
    end
    end