diff options
| author | Brett Porter | 2009-08-31 21:18:17 +1000 |
|---|---|---|
| committer | Max Howell | 2009-08-31 18:07:44 +0100 |
| commit | 9ab3d894d93c50c2d68e842856760d92cee1bc3d (patch) | |
| tree | 3cf205bb56f4284e283eee590f0eb0b9c344d698 /Library/Formula/tree.rb | |
| parent | c59ce3efd02f6312409d96132d21dc75bd2e7efc (diff) | |
| download | homebrew-9ab3d894d93c50c2d68e842856760d92cee1bc3d.tar.bz2 | |
Tree formula
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.
Diffstat (limited to 'Library/Formula/tree.rb')
| -rw-r--r-- | Library/Formula/tree.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/tree.rb b/Library/Formula/tree.rb new file mode 100644 index 000000000..7964a0184 --- /dev/null +++ b/Library/Formula/tree.rb @@ -0,0 +1,13 @@ +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 |
