aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-23 15:17:39 -0700
committerAdam Vandenberg2012-08-23 15:17:39 -0700
commitadb9b716c3e64b748bdc1dc0f45a650833d44c1c (patch)
tree35a9b10ab7014880a3a30273175d4bc7817e05a4 /Library/Formula
parent7ced29f8911ed02b6a6e0f67bc6ac72cf1f5e2c2 (diff)
downloadhomebrew-adb9b716c3e64b748bdc1dc0f45a650833d44c1c.tar.bz2
sleuthkit: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sleuthkit.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/sleuthkit.rb b/Library/Formula/sleuthkit.rb
index 0d4cb6501..990202248 100644
--- a/Library/Formula/sleuthkit.rb
+++ b/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"