4917fa2a69
Ditch libusb-0.1.x and replace with lib-1.0.6 along with the libusb-compat-0.1.3 compatibility wrapper Signed-off-by: Adam Vandenberg <flangy@gmail.com> Also update sane-backends to use compat. library.
15 lines
433 B
Ruby
15 lines
433 B
Ruby
require 'formula'
|
|
|
|
class LibusbCompat <Formula
|
|
url 'http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.3/libusb-compat-0.1.3.tar.bz2'
|
|
homepage 'http://libusb.sourceforge.net'
|
|
md5 '570ac2ea085b80d1f74ddc7c6a93c0eb'
|
|
|
|
depends_on 'pkg-config'
|
|
depends_on 'libusb'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|