aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-09-03 14:08:49 -0700
committerAdam Vandenberg2012-09-03 14:08:49 -0700
commit3a15bd5a9e7ae441a607a28fe881379a7325ea4b (patch)
tree4581fe92874cafc0da52d51fd086bcaee6b487ce /Library/Formula
parenta2c006b168a76d268dbeec5fac0566894503c4b8 (diff)
downloadhomebrew-3a15bd5a9e7ae441a607a28fe881379a7325ea4b.tar.bz2
jbigkit: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/jbigkit.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/Library/Formula/jbigkit.rb b/Library/Formula/jbigkit.rb
index 8fc9571b5..48b3144e6 100644
--- a/Library/Formula/jbigkit.rb
+++ b/Library/Formula/jbigkit.rb
@@ -1,15 +1,11 @@
require 'formula'
class Jbigkit < Formula
- url 'http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-2.0.tar.gz'
homepage 'http://www.cl.cam.ac.uk/~mgk25/jbigkit/'
+ url 'http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-2.0.tar.gz'
sha1 'cfb7d3121f02a74bfb229217858a0d149b6589ef'
- def options
- [
- ['--with-check', "Verify the library during install. Takes ~10s."]
- ]
- end
+ option 'with-check', "Verify the library during install"
def install
# Set for a universal build and patch the Makefile.
@@ -19,7 +15,7 @@ class Jbigkit < Formula
# It needs j1 to make the tests happen in sequence.
ENV.deparallelize
- system "make test" if ARGV.include? '--with-check'
+ system "make test" if build.include? 'with-check'
# Install the files using three common styles of syntax:
prefix.install %w[contrib examples]