aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/clamz.rb
blob: cfbb990f9d9ed6f145bb767d7698e4bc633a6f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Clamz < Formula
  homepage 'http://code.google.com/p/clamz/'
  url 'http://clamz.googlecode.com/files/clamz-0.5.tar.gz'
  sha1 '54664614e5098f9e4e9240086745b94fe638b176'

  depends_on 'pkg-config' => :build
  depends_on 'libgcrypt'

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end

  def test
    system "#{bin}/clamz"
  end
end