homebrew-core/Formula/htpdate.rb
2015-06-05 14:47:57 +01:00

20 lines
529 B
Ruby

require 'formula'
class Htpdate < Formula
desc "Synchronize time with remote web servers"
homepage 'http://www.vervest.org/fiki/bin/view/HTP'
url 'http://www.vervest.org/htp/archive/c/htpdate-0.9.1.tar.bz2'
sha1 'e0b1a3ae9ba755471102f28a2b8a7e2dc77addc7'
def install
system "make", "prefix=#{prefix}",
"STRIP=/usr/bin/strip",
"CC=#{ENV.cc}",
"CFLAGS=#{ENV.cflags}",
"install"
end
test do
system "#{bin}/htpdate", "-h"
end
end