Skip to content

Instantly share code, notes, and snippets.

@bbck
Created February 24, 2013 22:04
Show Gist options
  • Save bbck/5025902 to your computer and use it in GitHub Desktop.
Save bbck/5025902 to your computer and use it in GitHub Desktop.
Homebrew formula for tex2png utility.
require 'formula'
class Tex2png < Formula
homepage 'http://xyne.archlinux.ca/projects/tex2png/'
url 'http://xyne.archlinux.ca/projects/tex2png/src/tex2png-2012.12.tar.xz'
sha1 '54a932a9e540afe2b007784be0132abd0848e9fc'
depends_on 'xz'
def install
system "cd bin; sed -i.orig 's/sha256sum/shasum/' tex2png"
bin.install 'tex2png'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment