homebrew-core/Formula/htpdate.rb
Benedikt Arnold 0c9b25f0a6 htpdate: new location
Closes Homebrew/homebrew#20287.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-05 07:50:23 -07:00

19 lines
480 B
Ruby

require 'formula'
class Htpdate < Formula
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
def test
system "#{bin}/htpdate", "-h"
end
end