diff options
| author | Adam Vandenberg | 2011-10-29 11:32:26 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-10-29 11:32:26 -0700 |
| commit | 177c56ee3fcc179ef1086a3d600b3f9ef3da503a (patch) | |
| tree | 6bca6b09966fc8fc42e1890cc28dc2d762646842 /Library/Formula/bcwipe.rb | |
| parent | a8f8a43829621f03c685ea1c8e8bb8961abcacad (diff) | |
| download | homebrew-177c56ee3fcc179ef1086a3d600b3f9ef3da503a.tar.bz2 | |
BCWipe 1.9-8
Diffstat (limited to 'Library/Formula/bcwipe.rb')
| -rw-r--r-- | Library/Formula/bcwipe.rb | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/Library/Formula/bcwipe.rb b/Library/Formula/bcwipe.rb index 7b09e0041..6cc35040b 100644 --- a/Library/Formula/bcwipe.rb +++ b/Library/Formula/bcwipe.rb @@ -1,13 +1,23 @@ require 'formula' class Bcwipe < Formula - url 'http://www.jetico.com/linux/BCWipe-1.9-6.tar.gz' - homepage 'http://www.jetico.com/linux/bcwipe-help/wu_intro.htm' - md5 'abe1ddf92284d585acf43d7e2d8b1593' + url 'http://www.jetico.com/linux/BCWipe-1.9-8.tar.gz' + homepage 'http://www.jetico.com/linux/bcwipe-help/' + md5 'b8ecc0a62856e7c752020bdfafc89c75' def install - ENV.gcc_4_0_1 system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" + + # Remove bad arch flags + inreplace 'Makefile' do |s| + s.change_make_var! 'CFLAGS', ENV.cflags + s.change_make_var! 'LDFLAGS', ENV.ldflags + end + + # This does not get detected properly. + # Should be reported upstream! + inreplace "config.h", "/* #undef HAVE_GETTIMEOFDAY */", "#define HAVE_GETTIMEOFDAY 1" + system "make install" end end |
