2010-07-24 03:04:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Tinc < Formula
|
2010-07-24 03:04:07 +00:00
|
|
|
homepage 'http://www.tinc-vpn.org'
|
2013-04-24 19:10:04 +00:00
|
|
|
url 'http://www.tinc-vpn.org/packages/tinc-1.0.21.tar.gz'
|
|
|
|
sha1 'e7f65ba5dded43569c51b1fdc2f421c9cee75b9b'
|
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
|