aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sshuttle.rb
blob: b33c5192e324f045cc5743698156b6db457985e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Sshuttle <Formula
  url 'https://github.com/apenwarr/sshuttle/tarball/sshuttle-0.44'
  homepage 'https://github.com/apenwarr/sshuttle'
  md5 'c0d81604a8d864d0f52f2b6137b655a7'
  version '0.44'

  head 'git://github.com/apenwarr/sshuttle.git'

  def install
    libexec.install Dir['*']
    (bin+'sshuttle').write <<-EOS.undent
      #!/bin/bash
      exec #{libexec}/main.py "$@"
    EOS
  end
end