homebrew-core/Formula/macosvpn.rb
2017-10-06 13:09:42 +02:00

24 lines
810 B
Ruby

class Macosvpn < Formula
desc "Create Mac OS VPNs programmatically"
homepage "https://github.com/halo/macosvpn"
url "https://github.com/halo/macosvpn/archive/0.3.3.tar.gz"
sha256 "2ef6928fd75d7e4e298d620c6250015597865fc7f0ed95b925ff3f2a8b2514dc"
bottle do
cellar :any_skip_relocation
sha256 "f6760ee774acb972c84ffa2205d4c66528e2569c8310b05a45b34038f8ad49d7" => :high_sierra
sha256 "adabba70188d09e44f73a7e56e084a1b6d7bb57d4c1fea1e2637fe944f4c88b6" => :sierra
sha256 "6bcc76fbd5c18c794822c4b154d17fdf6ef8e916a03325d3dbc1ff8d03078532" => :el_capitan
end
depends_on :xcode => ["7.3", :build]
def install
xcodebuild "SYMROOT=build"
bin.install "build/Release/macosvpn"
end
test do
assert_match version.to_s, shell_output("#{bin}/macosvpn version", 10)
end
end