homebrew-core/Formula/tree.rb
Adam Vandenberg 7bd947eb0b 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

14 lines
339 B
Ruby

require 'formula'
class Tree <Formula
url 'ftp://mama.indstate.edu/linux/tree/tree-1.5.3.tgz'
homepage 'http://mama.indstate.edu/users/ice/tree/'
md5 'c07ce9065667a23f27aca4de8ecccb10'
def install
system "#{ENV.cc} #{ENV['CFLAGS']} -o tree tree.c strverscmp.c"
bin.install "tree"
man1.install "man/tree.1"
end
end