Skip to content

Instantly share code, notes, and snippets.

@paulredmond
Created February 10, 2012 17:29
Show Gist options
  • Save paulredmond/1791096 to your computer and use it in GitHub Desktop.
Save paulredmond/1791096 to your computer and use it in GitHub Desktop.
pngout homebrew formula
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'
md5 'ce70a9d70e08b1920e5ac88d130d0eb9'
version '20110722'
def install
prefix.install Dir['*']
File.symlink(prefix+'pngout', '/usr/local/bin/pngout')
end
end
@paulredmond
Copy link
Author

Need to create my own github repo and add a makefile. Brew doesn't suport uninstall functionality from the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment