35 lines
1.4 KiB
Ruby
35 lines
1.4 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 "4c4eb5e75f59ac2527ec72d41e5e11ae156243278b7c92186fdccec62435a783" => :catalina
|
|
sha256 "c5358f469073875537f489d59525c3c9022cebbd3fb77f418b4abba96cd24bf4" => :mojave
|
|
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
|