aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bwctl.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/bwctl.rb b/Library/Formula/bwctl.rb
new file mode 100644
index 000000000..c507bf822
--- /dev/null
+++ b/Library/Formula/bwctl.rb
@@ -0,0 +1,21 @@
+require "formula"
+
+class Bwctl < Formula
+ homepage "http://software.internet2.edu/bwctl/"
+ url "http://software.internet2.edu/sources/bwctl/bwctl-1.5.2-10.tar.gz"
+ sha1 "5dcc7a1d671ac8e061f859a430d56ae2551f507e"
+
+ depends_on "i2util"
+
+ def install
+ system "./configure", "--disable-debug",
+ "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/bwctl", "-V"
+ end
+end