libusbx: use spec deps

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

View file

@ -5,16 +5,17 @@ class Libusbx < Formula
url 'http://downloads.sourceforge.net/project/libusbx/releases/1.0.17/source/libusbx-1.0.17.tar.bz2' url 'http://downloads.sourceforge.net/project/libusbx/releases/1.0.17/source/libusbx-1.0.17.tar.bz2'
sha1 'a491054e7f4f3f52b12bd567335180586a54ae16' sha1 'a491054e7f4f3f52b12bd567335180586a54ae16'
head 'https://github.com/libusbx/libusbx.git' head do
url 'https://github.com/libusbx/libusbx.git'
conflicts_with 'libusb',
:because => 'both provide libusb compatible libraries'
if build.head?
depends_on :automake depends_on :automake
depends_on :libtool depends_on :libtool
end end
conflicts_with 'libusb',
:because => 'both provide libusb compatible libraries'
option :universal option :universal
option 'no-runtime-logging', 'Build without runtime logging functionality' option 'no-runtime-logging', 'Build without runtime logging functionality'
option 'with-default-log-level-debug' 'Build with default runtime log level of debug (instead of none)' option 'with-default-log-level-debug' 'Build with default runtime log level of debug (instead of none)'