2014-12-28 14:07:04 +00:00
|
|
|
class Vpcs < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Virtual PC simulator for testing IP routing"
|
2014-12-28 14:07:04 +00:00
|
|
|
homepage "http://vpcs.sourceforge.net/"
|
|
|
|
url "https://downloads.sourceforge.net/project/vpcs/0.6/vpcs-0.6-src.tbz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "cc311b0dea9ea02ef95f26704d73e34d293caa503600a0acca202d577afd3ceb"
|
2014-12-28 14:07:04 +00:00
|
|
|
|
2014-12-29 12:54:33 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "b1cb4c4c1dfabe6a1583aae0dd9387868739cfce" => :yosemite
|
|
|
|
sha1 "e396c21bd1cc5c883ff0a92d74cd497d74fb20bd" => :mavericks
|
|
|
|
sha1 "65669a992ac54d5b642beb9c8d90895b70c7a711" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2014-12-28 14:07:04 +00:00
|
|
|
def install
|
|
|
|
cd "src" do
|
|
|
|
system "make", "-f", "Makefile.osx"
|
|
|
|
bin.install "vpcs"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "vpcs", "--version"
|
|
|
|
end
|
|
|
|
end
|