homebrew-core/Formula/dcraw.rb
2009-12-12 16:24:18 +00:00

15 lines
358 B
Ruby

require 'formula'
class Dcraw <Formula
head 'http://www.cybercom.net/~dcoffin/dcraw/dcraw.c'
homepage 'http://www.cybercom.net/~dcoffin/dcraw/'
md5 'cd5cb6e56d5b925c59680abe24b9b03a'
depends_on 'jpeg'
depends_on 'liblcms'
def install
system "#{ENV.cc} -o dcraw #{ENV['CFLAGS']} dcraw.c -lm -ljpeg -llcms"
bin.install 'dcraw'
end
end