homebrew-core/Formula/exodriver.rb

24 lines
570 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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'
2012-04-19 02:37:43 +00:00
head 'https://github.com/labjack/exodriver.git'
depends_on 'libusb'
2012-08-09 05:34:30 +00:00
option :universal
def install
2012-08-09 05:34:30 +00:00
ENV.universal_binary if build.universal?
cd 'liblabjackusb'
system "make", "-f", "Makefile",
"DESTINATION=#{lib}",
"HEADER_DESTINATION=#{include}",
"install"
end
2011-03-10 05:11:03 +00:00
end