diff options
| author | ladislas | 2014-08-30 17:12:55 +0200 |
|---|---|---|
| committer | Jack Nagel | 2014-09-01 00:23:33 -0500 |
| commit | 5b56841d6f97534d0d0ca1b8455f747c2c361873 (patch) | |
| tree | 2623f0834a71256c73caa0f10c23389118b3daab /Library | |
| parent | c3fa17378f0ec3664a01588814fca4acb6c3b3a3 (diff) | |
| download | homebrew-5b56841d6f97534d0d0ca1b8455f747c2c361873.tar.bz2 | |
New formula: ttylog
Closes #31985.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ttylog.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/ttylog.rb b/Library/Formula/ttylog.rb new file mode 100644 index 000000000..c8e33f874 --- /dev/null +++ b/Library/Formula/ttylog.rb @@ -0,0 +1,23 @@ +require "formula" + +class Ttylog < Formula + homepage "http://ttylog.sourceforge.net/" + url "https://downloads.sourceforge.net/project/ttylog/ttylog/0.25/ttylog-0.25.tar.gz" + sha1 "02bb49066d861690439b351f06b0c3bdb203f06b" + + depends_on "cmake" => :build + + def install + mkdir "build" do + system "cmake", "..", *std_cmake_args + system "make" + system "make install" + + bin.install sbin/"ttylog" + end + end + + test do + system "#{bin}/ttylog", "-h" + end +end |
