Skip to content

Commit

Permalink
Add gitstats formula
Browse files Browse the repository at this point in the history
The author will not create release tags, so we must use the HEAD of the
repository instead.

Closes hoxu/gitstats#29
Refs Homebrew/legacy-homebrew#14418
Refs Homebrew/legacy-homebrew#25447
  • Loading branch information
miketheman committed Sep 23, 2015
1 parent 84bd9a5 commit d07840b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions gitstats.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
class Gitstats < Formula
desc "git history statistics generator"
homepage "http://gitstats.sourceforge.net/"
head "https://github.com/hoxu/gitstats.git"

depends_on "gnuplot"
depends_on "python"

def install
system "make", "install", "PREFIX=#{prefix}"

system "make", "man"
man1.install "doc/gitstats.1"
end

test do
system "#{bin}/gitstats"
end
end

0 comments on commit d07840b

Please sign in to comment.