blob: 6cc9d4b0fb0dd9450742ee0947fb3e8998bc70c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class Findutils < Formula
homepage 'http://www.gnu.org/software/findutils/'
url 'http://ftpmirror.gnu.org/findutils/findutils-4.4.2.tar.gz'
mirror 'http://ftp.gnu.org/gnu/findutils/findutils-4.4.2.tar.gz'
sha1 'e8dd88fa2cc58abffd0bfc1eddab9020231bb024'
option 'default-names', "Do not prepend 'g' to the binary"
def install
args = ["--prefix=#{prefix}",
"--disable-dependency-tracking",
"--disable-debug"]
args << "--program-prefix=g" unless build.include? 'default-names'
system "./configure", *args
system "make install"
end
end
|