0d32ffb979
Closes Homebrew/homebrew#12034. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
25 lines
617 B
Ruby
25 lines
617 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.0'
|
|
md5 '85e8782d81ecd49012bbcf51c72d9ef8'
|
|
|
|
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
|