From 26a16ea5c541206c76fa9104315a96eb850789bb Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Sun, 28 Dec 2014 15:07:04 +0100 Subject: [PATCH] vpcs 0.6 new formula Project description: The VPCS can simulate up to 9 PCs. You can ping/traceroute them, or ping/traceroute the other hosts/routers from the virtual PCs when you study the Cisco routers in the Dynamips. VPCS is not the traditional PC, it is just a program running on the Linux or Windows, and only few network commands can be used in it. But VPCS can give you a big hand when you study the Cisco devices in the Dynamips. VPCS can replace the routers or VMware boxes which are used as PCs in the Dynamips network. --- Library/Formula/vpcs.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Library/Formula/vpcs.rb diff --git a/Library/Formula/vpcs.rb b/Library/Formula/vpcs.rb new file mode 100644 index 000000000000..75592f3337cb --- /dev/null +++ b/Library/Formula/vpcs.rb @@ -0,0 +1,16 @@ +class Vpcs < Formula + homepage "http://vpcs.sourceforge.net/" + url "https://downloads.sourceforge.net/project/vpcs/0.6/vpcs-0.6-src.tbz" + sha1 "6ecdc42f3026286ff6decd588a08898b52ec558f" + + def install + cd "src" do + system "make", "-f", "Makefile.osx" + bin.install "vpcs" + end + end + + test do + system "vpcs", "--version" + end +end