We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e05274a commit 2774f8bCopy full SHA for 2774f8b
homebrew/subcalc.rb
@@ -0,0 +1,18 @@
1
+#
2
+# Formula for the subcalc tool
3
4
+class Subcalc < Formula
5
+ desc "Subnet calculation and discovery tool"
6
+ homepage "https://github.com/csjayp/subcalc"
7
+ url "https://github.com/csjayp/subcalc/archive/v1.2.tar.gz"
8
+ sha256 "7bc926b22aa75749e1ab5878932887bc1811115703aac646c04c55f39b2809a8"
9
+
10
+ def install
11
+ system "make"
12
+ system "make", "PREFIX=#{prefix}", "install"
13
+ end
14
15
+ test do
16
+ system "#{bin}/subcalc", "inet", "127.0.0.1/24"
17
18
+end
0 commit comments