wireguard-tools 0.0.20160722 (new formula)

Closes #3183.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Jason A. Donenfeld 2016-07-21 11:50:40 +02:00 committed by Dominyk Tiller
parent c8e6bced37
commit 38e4e0bfd2

View 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