homebrew-core/Formula/hamlib.rb

29 lines
948 B
Ruby
Raw Normal View History

class Hamlib < Formula
desc "Ham radio control libraries"
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"
sha256 "a2ca4549e4fd99d6e5600e354ebcb57502611aa63c6921c1b8a825289833f75e"
2014-07-03 12:32:21 +00:00
bottle do
2014-10-20 10:26:35 +00:00
revision 1
2015-09-22 11:50:26 +00:00
sha256 "d4e86dbc6d9bf5e0b4a1c1bce2471e90becf05b19b1c595952c94b3bda91e0db" => :el_capitan
2014-10-20 10:26:35 +00:00
sha1 "065230b0278836ac59ff9cfaef2c0c5a3447c4be" => :yosemite
sha1 "a84950c2f3415fddd514121d3638b53671d74727" => :mavericks
sha1 "febb53a406f79f38d8a7ba1cbdebb88e3aeca966" => :mountain_lion
2014-07-03 12:32:21 +00:00
end
depends_on "pkg-config" => :build
depends_on "libtool" => :run
depends_on "libusb-compat"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
2013-03-25 18:35:18 +00:00
test do
system "#{bin}/rigctl", "-V"
end
end