aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-09-21 20:47:22 -0500
committerJack Nagel2013-09-21 20:47:22 -0500
commitd23be782dd26526b53863e6d269de1f09ecae68f (patch)
tree6295eb836d3f4d6ceae56184a19b1ef8edb7dd0e /Library/Formula
parentaa0797a846cf4e049ed2928a6be73ba1d1ff03fa (diff)
downloadhomebrew-d23be782dd26526b53863e6d269de1f09ecae68f.tar.bz2
libusbx: use spec deps
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)'