wireguard-tools 0.0.20160722 (new formula)
Closes #3183. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
c8e6bced37
commit
38e4e0bfd2
1 changed files with 17 additions and 0 deletions
17
Formula/wireguard-tools.rb
Normal file
17
Formula/wireguard-tools.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
class WireguardTools < Formula
|
||||
desc "Tools for the WireGuard secure network tunnel"
|
||||
homepage "https://www.wireguard.io/"
|
||||
# Despite the experimental tag the tools themselves are stable.
|
||||
# Please only update version when the tools have been modified/updated.
|
||||
url "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-experimental-0.0.20160722.tar.xz"
|
||||
sha256 "0dcda97b6bb4e962f731a863df9b4291c1c453b01f4faba78be4aaa13a594242"
|
||||
head "https://git.zx2c4.com/WireGuard", :using => :git
|
||||
|
||||
def install
|
||||
system "make", "PREFIX=#{prefix}", "-C", "src/tools", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/wg", "help"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue