Skip to content

Instantly share code, notes, and snippets.

@davidjrice
Created April 20, 2011 01:39
Show Gist options
  • Select an option

  • Save davidjrice/930154 to your computer and use it in GitHub Desktop.

Select an option

Save davidjrice/930154 to your computer and use it in GitHub Desktop.
/usr/local/homebrew/Library/Formula/libtiff.rb
require 'formula'
class Libtiff < Formula
homepage 'http://www.remotesensing.org/libtiff/'
# remotesensing.org is offline.
# url 'ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.9.5.zip'
# sha256 '332d1a658340c41791fce62fb8fff2a5ba04c2e82b8b85e741eb0a7b30e0d127'
# latest available mirror I could find was 3.8.2
url 'https://github.com/LuaDist/libtiff/zipball/v3.8.2'
md5 '766df7dd0c05d64f52b683f2816e5511'
def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment