Files
tigerbrew/Library/Formula/foremost.rb
T
Adam Vandenberg d0efd9ee94 Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

22 lines
533 B
Ruby

require 'formula'
class Foremost <Formula
url 'http://foremost.sourceforge.net/pkg/foremost-1.5.7.tar.gz'
homepage 'http://foremost.sourceforge.net/'
md5 '860119c49665c2a3fb2b0b1d3dbad02a'
def install
inreplace "Makefile" do |s|
s.gsub! "/usr/", "#{prefix}/"
s.change_make_var! "RAW_CC", ENV.cc
s.change_make_var! "RAW_FLAGS", ENV['CFLAGS']
end
system "make mac"
bin.install "foremost"
man8.install "foremost.8.gz"
etc.install "foremost.conf" => "foremost.conf.sample"
end
end