libusb: use spec deps
This commit is contained in:
parent
83c033c9c3
commit
1cc8a08da8
1 changed files with 5 additions and 5 deletions
|
@ -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?
|
||||
|
||||
|
|
Loading…
Reference in a new issue