aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/xbee-comm.rb
blob: da88098df079bdd06681f6c5b5a774740a90a733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'formula'

# This fork contains OS X patches.
# Original project: https://github.com/roysjosh/xbee-comm

class XbeeComm < Formula
  homepage 'https://github.com/guyzmo/xbee-comm.git'
  url 'https://github.com/guyzmo/xbee-comm/tarball/v1.5'
  sha1 '260e4ca71dabde120fd90089f0dada68d3123dcf'

  head 'https://github.com/guyzmo/xbee-comm.git'

  depends_on :automake

  def install
    system "aclocal"
    system "autoconf"
    system "autoheader"
    system "automake", "-a", "-c"

    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end