libusb: use spec deps

This commit is contained in:
Jack Nagel 2013-09-21 20:47:21 -05:00
parent 83c033c9c3
commit 1cc8a08da8

View file

@ -5,18 +5,18 @@ class Libusb < Formula
url 'http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2'
sha256 'e920eedc2d06b09606611c99ec7304413c6784cba6e33928e78243d323195f9b'
head 'git://git.libusb.org/libusb.git'
head do
url 'git://git.libusb.org/libusb.git'
conflicts_with 'libusbx',
:because => 'both provide libusb compatible libraries'
if build.head?
depends_on :automake
depends_on :libtool
end
option :universal
conflicts_with 'libusbx',
:because => 'both provide libusb compatible libraries'
def install
ENV.universal_binary if build.universal?