2010-12-11 18:25:06 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Sshuttle < Formula
|
2010-12-11 18:25:06 +00:00
|
|
|
homepage 'https://github.com/apenwarr/sshuttle'
|
2012-08-17 23:53:37 +00:00
|
|
|
url 'https://github.com/apenwarr/sshuttle/zipball/sshuttle-0.61'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '81ad1b98b2aed6fefdc8993a72392969a1a9be01'
|
2010-12-11 18:25:06 +00:00
|
|
|
|
2011-05-27 05:02:55 +00:00
|
|
|
head 'https://github.com/apenwarr/sshuttle.git'
|
2010-12-11 18:25:06 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install Dir['*']
|
|
|
|
(bin+'sshuttle').write <<-EOS.undent
|
|
|
|
#!/bin/bash
|
2011-04-06 06:02:09 +00:00
|
|
|
exec #{libexec}/sshuttle "$@"
|
2010-12-11 18:25:06 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|