homebrew-core/Formula/exodriver.rb
2015-06-05 14:47:57 +01:00

24 lines
620 B
Ruby

require 'formula'
class Exodriver < Formula
desc "Thin interface to LabJack devices"
homepage 'http://labjack.com/support/linux-and-mac-os-x-drivers'
url 'https://github.com/labjack/exodriver/archive/v2.5.3.tar.gz'
sha1 'd21529987962b1e7178ec7331fc14700caed0692'
head 'https://github.com/labjack/exodriver.git'
depends_on 'libusb'
option :universal
def install
ENV.universal_binary if build.universal?
cd 'liblabjackusb'
system "make", "-f", "Makefile",
"DESTINATION=#{lib}",
"HEADER_DESTINATION=#{include}",
"install"
end
end