blob: 7f147a2e78fec3d492717a043c178a86fb8f42d3 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 | require 'formula'
class Arm < Formula
  homepage 'http://www.atagar.com/arm/'
  url 'http://www.atagar.com/arm/resources/static/arm-1.4.5.0.tar.bz2'
  sha256 'fc0e771585dde3803873b4807578060f0556cf1cac6c38840a714ffada3b28fa'
  def install
    (share+"arm").install Dir["*"]
    bin.write_exec_script share/'arm/arm'
  end
  def caveats; <<-EOS.undent
    You'll need to enable the Tor Control Protocol in your torrc.
    See here for details: http://www.torproject.org/tor-manual.html.en
    To configure Arm, copy the sample configuration from
    #{share}/arm/armrc.sample
    to ~/.arm/armrc, adjusting as needed.
    EOS
  end
end
 |