2012-05-11 17:08:49 +00:00
|
|
|
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'
|
2013-03-29 20:29:20 +00:00
|
|
|
url 'https://github.com/guyzmo/xbee-comm/archive/v1.5.tar.gz'
|
|
|
|
sha1 '1eefd2818fcffb2da9e217c7df48b1ff4f72ef3a'
|
2012-05-11 17:08:49 +00:00
|
|
|
|
|
|
|
head 'https://github.com/guyzmo/xbee-comm.git'
|
|
|
|
|
2013-11-13 17:01:29 +00:00
|
|
|
depends_on :autoconf
|
2012-05-11 17:08:49 +00:00
|
|
|
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
|