2013-02-03 03:27:14 +00:00
|
|
|
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
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2013-02-03 03:27:14 +00:00
|
|
|
system "#{bin}/clamz"
|
|
|
|
end
|
|
|
|
end
|