aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/flawfinder.rb
blob: bb5db4f0aaf202d4e749a7dfdfa136cc3dcab3ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'formula'

class Flawfinder < Formula
  homepage 'http://www.dwheeler.com/flawfinder/'
  url 'http://www.dwheeler.com/flawfinder/flawfinder-1.27.tar.gz'
  sha1 '0af702c1e0cbd0385a78be6ef1f2f7752ba6193f'
  head 'git://git.code.sf.net/p/flawfinder/code'

  def install
    system "make", "INSTALL_DIR=#{prefix}",
                   "INSTALL_DIR_BIN=#{bin}",
                   "INSTALL_DIR_MAN=#{man1}",
                   "install"
  end
end