2010-07-24 03:04:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Tinc < Formula
|
2012-03-16 08:59:52 +00:00
|
|
|
url 'http://www.tinc-vpn.org/packages/tinc-1.0.17.tar.gz'
|
2010-07-24 03:04:07 +00:00
|
|
|
homepage 'http://www.tinc-vpn.org'
|
2012-03-16 08:59:52 +00:00
|
|
|
sha1 '3e07c53978868766bf805397efe5842e686464d8'
|
2010-07-24 03:04:07 +00:00
|
|
|
|
|
|
|
depends_on 'lzo'
|
|
|
|
|
|
|
|
def install
|
2011-08-12 17:05:36 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--sysconfdir=#{etc}"
|
|
|
|
system "make"
|
2010-07-24 03:04:07 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|