From bd7fae7b227f62dfff2bf02a9d802fbe2b3c7455 Mon Sep 17 00:00:00 2001 From: Andre Skarzynski Date: Mon, 4 Feb 2013 17:54:44 +0000 Subject: hamlib 1.2.15.3 Closes #17580. Signed-off-by: Adam Vandenberg --- Library/Formula/hamlib.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Library/Formula/hamlib.rb (limited to 'Library') 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 -- cgit v1.2.3