New formula: ttylog
Closes Homebrew/homebrew#31985. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
2281f04f9e
commit
4cf251c8af
1 changed files with 23 additions and 0 deletions
23
Formula/ttylog.rb
Normal file
23
Formula/ttylog.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue