diff options
| author | Jacob Appelbaum | 2013-02-16 03:41:44 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2013-02-23 07:51:16 +0000 |
| commit | ab98f9d0e71888fa1ce020d9e072434cf097ae57 (patch) | |
| tree | cdb73e69ad7fa3a5d3f110d33f9f831e78a9acc3 /Library/Formula | |
| parent | 5b5d00fc19faff79f145507448f8d17c78b8e1e7 (diff) | |
| download | homebrew-ab98f9d0e71888fa1ce020d9e072434cf097ae57.tar.bz2 | |
tlsdate 0.0.6 (new formula)
tlsdate is a parasitic network time utility.
It is the default ntp-like client for ChromeOS.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/tlsdate.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/tlsdate.rb b/Library/Formula/tlsdate.rb new file mode 100644 index 000000000..689b2b601 --- /dev/null +++ b/Library/Formula/tlsdate.rb @@ -0,0 +1,23 @@ +require 'formula' + +class Tlsdate < Formula + homepage 'https://www.github.com/ioerror/tlsdate/' + url 'https://github.com/ioerror/tlsdate/archive/tlsdate-0.0.6.tar.gz' + sha1 '7b0cbd73b81ee2775396724f42c0fb22f7020361' + head 'https://github.com/ioerror/tlsdate.git' + + depends_on :autoconf + depends_on :automake + depends_on :libtool + depends_on 'pkg-config' => :build + + def install + system './autogen.sh' + system './configure', '--disable-dependency-tracking', "--prefix=#{prefix}" + system 'make', 'install' + end + + def test + system 'tlsdate', '--verbose', '--dont-set-clock' + end +end |
