2010-08-26 21:07:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libhid < Formula
|
2010-08-26 21:07:02 +00:00
|
|
|
homepage 'http://libhid.alioth.debian.org/'
|
2013-06-12 10:26:43 +00:00
|
|
|
url 'http://alioth.debian.org/frs/download.php/file/1958/libhid-0.2.16.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '9a25fef674e8f20f97fea6700eb91c21ebbbcc02'
|
2010-08-26 21:07:02 +00:00
|
|
|
|
|
|
|
depends_on 'libusb'
|
|
|
|
depends_on 'libusb-compat'
|
|
|
|
|
|
|
|
def install
|
2013-01-29 05:25:46 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-swig"
|
2010-08-26 21:07:02 +00:00
|
|
|
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|