homebrew-core/Formula/dcraw.rb
kronicd 5b013a97bd dcraw: altered sha1 due to silent update
Closes Homebrew/homebrew#30185.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-20 20:24:42 -05:00

18 lines
526 B
Ruby

require "formula"
class Dcraw < Formula
homepage "http://www.cybercom.net/~dcoffin/dcraw/"
url "http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-9.21.tar.gz"
sha1 "9d5819939e5fe5b4e11952622e2ee7e4e51dd749"
depends_on "jpeg"
depends_on "jasper"
depends_on "little-cms2"
def install
ENV.append_to_cflags "-I#{HOMEBREW_PREFIX}/include -L#{HOMEBREW_PREFIX}/lib"
system "#{ENV.cc} -o dcraw #{ENV.cflags} dcraw.c -lm -ljpeg -llcms2 -ljasper"
bin.install "dcraw"
man1.install "dcraw.1"
end
end