blob: e52e7abf78a176f5a52e13ab48760aabb5a66c57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
require 'formula'
class Bcwipe < Formula
homepage 'http://www.jetico.com/linux/bcwipe-help/'
url 'http://www.jetico.com/linux/BCWipe-1.9-8.tar.gz'
md5 'b8ecc0a62856e7c752020bdfafc89c75'
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
# This does not get detected properly.
# Should be reported upstream!
inreplace "config.h", "/* #undef HAVE_GETTIMEOFDAY */", "#define HAVE_GETTIMEOFDAY 1"
system "make", "CFLAGS=#{ENV.cflags}", "LDFLAGS=#{ENV.ldflags}", "install"
end
end
|