e969a9d8bf
Tree is a recursive directory listing program that produces a depth indented listing of files, which is colorized ala dircolors if the LS_COLORS environment variable is set and output is to tty.
13 lines
337 B
Ruby
13 lines
337 B
Ruby
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
|
|
system "gcc #{ENV['CFLAGS']} -o tree tree.c strverscmp.c"
|
|
bin.install "tree"
|
|
man1.install "man/tree.1"
|
|
end
|
|
end
|