2013-02-16 11:41:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Tlsdate < Formula
|
|
|
|
homepage 'https://www.github.com/ioerror/tlsdate/'
|
|
|
|
head 'https://github.com/ioerror/tlsdate.git'
|
2013-12-09 05:26:03 +00:00
|
|
|
url 'https://github.com/ioerror/tlsdate/archive/tlsdate-0.0.7.tar.gz'
|
|
|
|
sha1 '572ecdd4aa69f9bbcca47f9b12dcd22260838313'
|
2013-02-16 11:41:44 +00:00
|
|
|
|
2014-06-01 01:39:28 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
|
|
|
depends_on "pkg-config" => :build
|
2013-02-16 11:41:44 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system './autogen.sh'
|
|
|
|
system './configure', '--disable-dependency-tracking', "--prefix=#{prefix}"
|
|
|
|
system 'make', 'install'
|
|
|
|
end
|
|
|
|
|
2013-03-25 18:35:22 +00:00
|
|
|
test do
|
|
|
|
system "#{bin}/tlsdate", "--verbose", "--dont-set-clock"
|
2013-02-16 11:41:44 +00:00
|
|
|
end
|
|
|
|
end
|