2009-08-31 11:18:17 +00:00
|
|
|
require 'brewkit'
|
|
|
|
|
|
|
|
class Tree <Formula
|
|
|
|
@url='ftp://mama.indstate.edu/linux/tree/tree-1.5.2.2.tgz'
|
|
|
|
@homepage='http://mama.indstate.edu/users/ice/tree/'
|
|
|
|
@md5='a7731a898e2c0d7e422a57a84ffbb06c'
|
|
|
|
|
|
|
|
def install
|
2009-09-21 22:50:57 +00:00
|
|
|
system "#{ENV.cc} #{ENV['CFLAGS']} -o tree tree.c strverscmp.c"
|
2009-09-21 18:52:47 +00:00
|
|
|
|
2009-08-31 11:18:17 +00:00
|
|
|
bin.install "tree"
|
|
|
|
man1.install "man/tree.1"
|
|
|
|
end
|
|
|
|
end
|