diff options
| author | Adam Vandenberg | 2012-09-03 12:27:56 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-09-03 12:27:56 -0700 |
| commit | 39bc9ff945c158068f72eca173101a51656cdf00 (patch) | |
| tree | 4840ebcf8ccdd0052350f53ac998405c3b956058 /Library/Formula | |
| parent | 9d149e6a7151c1d3f11bea70a23ab184b2ce2269 (diff) | |
| download | homebrew-39bc9ff945c158068f72eca173101a51656cdf00.tar.bz2 | |
liblas: use new dsl
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/liblas.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/liblas.rb b/Library/Formula/liblas.rb index 5b21bd2ae..a314a7dde 100644 --- a/Library/Formula/liblas.rb +++ b/Library/Formula/liblas.rb @@ -10,9 +10,7 @@ class Liblas < Formula depends_on 'gdal' depends_on 'boost' - def options - [['--with-test', 'Verify during install with `make test`.']] - end + option 'with-test', 'Verify during install with `make test`' def install mkdir 'macbuild' do @@ -23,7 +21,7 @@ class Liblas < Formula ENV['Boost_LIBRARY_DIRS'] = "#{HOMEBREW_PREFIX}/lib" system "cmake", "..", *std_cmake_args system "make" - system "make test" if ARGV.include? '--with-test' + system "make test" if build.include? 'with-test' system "make install" end end |
