aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mac-robber.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/Library/Formula/mac-robber.rb b/Library/Formula/mac-robber.rb
index 7619262cf..60c6dd02f 100644
--- a/Library/Formula/mac-robber.rb
+++ b/Library/Formula/mac-robber.rb
@@ -1,15 +1,12 @@
require 'formula'
class MacRobber < Formula
- url 'http://downloads.sourceforge.net/project/mac-robber/mac-robber/1.02/mac-robber-1.02.tar.gz'
homepage 'http://www.sleuthkit.org/mac-robber/'
+ url 'http://downloads.sourceforge.net/project/mac-robber/mac-robber/1.02/mac-robber-1.02.tar.gz'
md5 '6d6d99aa882a46b2bc5231d195fdb595'
def install
- inreplace 'Makefile' do |s|
- s.change_make_var! "GCC_OPT", ENV.cflags
- end
- system "make"
+ system "make", "CC=#{ENV.cc}", "GCC_OPT=#{ENV.cflags}"
bin.install 'mac-robber'
end
end