homebrew-core/Formula/xbee-comm.rb
2018-06-28 08:32:15 -07:00

33 lines
1.2 KiB
Ruby

# This fork contains macOS patches.
# Original project: https://github.com/roysjosh/xbee-comm
class XbeeComm < Formula
desc "XBee communication libraries and utilities"
homepage "https://github.com/guyzmo/xbee-comm.git"
url "https://github.com/guyzmo/xbee-comm/archive/v1.5.tar.gz"
sha256 "c474d22feae5d9c05b3ec167b839c8fded512587da0f020ca682d60db174f24a"
head "https://github.com/guyzmo/xbee-comm.git"
bottle do
cellar :any_skip_relocation
sha256 "935948849935f3f11e6cf8992b1c6ad79e92716583c6b5685bf55cc6c4bd2d7a" => :high_sierra
sha256 "9f6d626176e06f69934f3a3a3c56ddfa6a02be4f49d2e53dbce9d92b17f9eeb0" => :sierra
sha256 "64b15ac79da143e2b092db702fd22c92ef064093be1c4c81cb60fd5b08f44075" => :el_capitan
sha256 "805e99d4e700a2e9993f26fbc48cae17c1bf16e6ff9ce63b5c7195358fcb052c" => :yosemite
sha256 "06cb9c96c880a55763dbb58c1b1a60cba19ec89be9c6995955e235d10b6cb47d" => :mavericks
end
depends_on "autoconf" => :build
depends_on "automake" => :build
def install
system "aclocal"
system "autoconf"
system "autoheader"
system "automake", "-a", "-c"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end