Permalink
Browse files

sleuthkit: use new dsl

  • Loading branch information...
1 parent 7ced29f commit adb9b716c3e64b748bdc1dc0f45a650833d44c1c @adamv adamv committed Aug 23, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Library/Formula/sleuthkit.rb
@@ -7,7 +7,7 @@ class Sleuthkit < Formula
head 'https://github.com/sleuthkit/sleuthkit.git'
- if ARGV.build_head?
+ if build.head?
depends_on :autoconf
depends_on :automake
depends_on :libtool
@@ -19,13 +19,13 @@ class Sleuthkit < Formula
def patches
# required for new-ish libewf releases (API change)
# fixed in the upcoming sleuthkit 4.x
- if ARGV.build_stable?
+ if build.stable?
"http://downloads.sourceforge.net/project/libewf/patches%20for%203rd%20party%20software/sleuthkit/tsk3.2.3-libewf.patch"
end
end
def install
- system "./bootstrap" if ARGV.build_head?
+ system "./bootstrap" if build.head?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"

0 comments on commit adb9b71

Please sign in to comment.