aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libusbx.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/libusbx.rb b/Library/Formula/libusbx.rb
index 06a9e32e6..6435e9d03 100644
--- a/Library/Formula/libusbx.rb
+++ b/Library/Formula/libusbx.rb
@@ -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'
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 :libtool
end
+
+ conflicts_with 'libusb',
+ :because => 'both provide libusb compatible libraries'
+
option :universal
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)'