Skip to content

Instantly share code, notes, and snippets.

@ultima51x
Created May 12, 2015 18:50
Show Gist options
  • Save ultima51x/8f8cda80ea3a96083e46 to your computer and use it in GitHub Desktop.
Save ultima51x/8f8cda80ea3a96083e46 to your computer and use it in GitHub Desktop.

Revisions

  1. ultima51x created this gist May 12, 2015.
    13 changes: 13 additions & 0 deletions pngout.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    require 'formula'

    class Pngout < Formula
    url 'http://static.jonof.id.au/dl/kenutils/pngout-20110722-darwin.tar.gz'
    homepage 'http://www.jonof.id.au/kenutils'
    sha256 '45f27bb4a76f1ed1d93734d5fe2a601ef9d21eafbe7ad230fa60c00315b09167'
    version '20110722'

    def install
    prefix.install Dir['*']
    File.symlink(prefix+'pngout', '/usr/local/bin/pngout')
    end
    end