diff options
| author | lukas | 2010-10-04 11:13:35 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-10-22 07:05:45 -0700 |
| commit | 2fd7abbe7038277a41e615793caecffa826bab40 (patch) | |
| tree | d6e04dde36fede1e8528a205fcea97029397036e /Library/Formula/exodriver.rb | |
| parent | d8ff3b80cda0da353403ac1cde5e210b9d6a1e19 (diff) | |
| download | homebrew-2fd7abbe7038277a41e615793caecffa826bab40.tar.bz2 | |
offical labjack usb drivers (aka liblabjackusb)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/exodriver.rb')
| -rw-r--r-- | Library/Formula/exodriver.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/exodriver.rb b/Library/Formula/exodriver.rb new file mode 100644 index 000000000..4d588d3a0 --- /dev/null +++ b/Library/Formula/exodriver.rb @@ -0,0 +1,25 @@ +require 'formula' + +class Exodriver <Formula + url 'http://github.com/labjack/exodriver/tarball/98cf1f83ff65ab7a317f4310d46081a476ae939c' + homepage 'http://labjack.com/support/linux-and-mac-os-x-drivers' + md5 'ec227347ccaf0772d175d3a2cf557105' + version '2.0-0-98cf1f8' + + head 'http://github.com/labjack/exodriver.git', :using => :git + + depends_on 'libusb' + + def install + cd 'liblabjackusb' + mv 'Makefile.MacOSX', 'Makefile' + + inreplace 'Makefile' do |s| + s.change_make_var! 'DESTINATION', lib + s.change_make_var! 'HEADER_DESTINATION', include + end + + system "make" + system "make install" + end +end
\ No newline at end of file |
