homebrew-core/Formula/exodriver.rb
Brett Koonce ad9e174245 exodriver 2.5.1
Closes Homebrew/homebrew#13974.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-05 20:57:33 -07:00

25 lines
626 B
Ruby

require 'formula'
class Exodriver < Formula
homepage 'http://labjack.com/support/linux-and-mac-os-x-drivers'
url 'https://github.com/labjack/exodriver/tarball/v2.5.1'
sha1 '4c4ab59f84492fe65bc8e1785831a8a22b952690'
head 'https://github.com/labjack/exodriver.git'
depends_on 'libusb'
def options
[["--universal", "Build a universal binary."]]
end
def install
ENV.universal_binary if ARGV.build_universal?
cd 'liblabjackusb'
system "make", "-f", "Makefile",
"DESTINATION=#{lib}",
"HEADER_DESTINATION=#{include}",
"install"
end
end