aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAndre Skarzynski2013-02-04 17:54:44 +0000
committerAdam Vandenberg2013-02-05 20:06:23 -0800
commitbd7fae7b227f62dfff2bf02a9d802fbe2b3c7455 (patch)
tree40854cc8a339c848c79f581e126200eb2c6cea7a /Library/Formula
parent04f93bb4418afc9a67afedb21e27eea1425ed6b3 (diff)
downloadhomebrew-bd7fae7b227f62dfff2bf02a9d802fbe2b3c7455.tar.bz2
hamlib 1.2.15.3
Closes #17580. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/hamlib.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/hamlib.rb b/Library/Formula/hamlib.rb
new file mode 100644
index 000000000..57e5b97ba
--- /dev/null
+++ b/Library/Formula/hamlib.rb
@@ -0,0 +1,21 @@
+require 'formula'
+
+class Hamlib < Formula
+ homepage 'http://hamlib.sourceforge.net'
+ url 'http://pkgs.fedoraproject.org/repo/pkgs/hamlib/hamlib-1.2.15.3.tar.gz/3cad8987e995a00e5e9d360e2be0eb43/hamlib-1.2.15.3.tar.gz'
+ sha1 '15ab404ea37e5627abea89f9e051d393966918ba'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'libtool' => :build
+ depends_on 'libusb-compat'
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "#{bin}/rigctl -V"
+ end
+end