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

class Sshuttle < Formula
  homepage 'https://github.com/apenwarr/sshuttle'
  url 'https://github.com/apenwarr/sshuttle/zipball/sshuttle-0.61'
  sha1 '81ad1b98b2aed6fefdc8993a72392969a1a9be01'

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

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