4cd0935be7
Closes Homebrew/homebrew#26942. Closes Homebrew/homebrew#26946. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
19 lines
479 B
Ruby
19 lines
479 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
|
|
|
|
test do
|
|
system "#{bin}/htpdate", "-h"
|
|
end
|
|
end
|