2010-07-24 03:04:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Tinc < Formula
|
2011-08-12 17:05:36 +00:00
|
|
|
url 'http://www.tinc-vpn.org/packages/tinc-1.0.16.tar.gz'
|
2010-07-24 03:04:07 +00:00
|
|
|
homepage 'http://www.tinc-vpn.org'
|
2011-08-12 17:05:36 +00:00
|
|
|
sha1 '6700e63c548228b1675f243f0075f98511f1e3a8'
|
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
|