aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-25 09:41:33 -0700
committerAdam Vandenberg2012-08-25 09:41:33 -0700
commit68f59ddd3de58bde089699013e1f172d7c34f4f4 (patch)
tree7a6361277d7f5e3f88d08413b6d42da53d232258 /Library/Formula
parent2ed6603c038104e0e9834827080f490ae21ff1ba (diff)
downloadhomebrew-68f59ddd3de58bde089699013e1f172d7c34f4f4.tar.bz2
vrpn: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/vrpn.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/vrpn.rb b/Library/Formula/vrpn.rb
index ea459670f..f378b5c54 100644
--- a/Library/Formula/vrpn.rb
+++ b/Library/Formula/vrpn.rb
@@ -10,8 +10,8 @@ class Vrpn < Formula
option 'clients', 'Build client apps and tests'
option 'docs', 'Build doxygen-based API documentation'
- depends_on 'libusb' # for HID support
depends_on 'cmake' => :build
+ depends_on 'libusb' # for HID support
depends_on 'doxygen' if build.include? 'docs'
def install
@@ -26,7 +26,7 @@ class Vrpn < Formula
mkdir "build" do
system "cmake", *args
- system "make doc" if ARGV.include? '--docs'
+ system "make doc" if build.include? 'docs'
system "make install"
end
end