mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 20:49:48 -05:00
1 parent
c5be4a70e2
commit
c8ffc2f1e8
1 file changed
+19
@@ -0,0 +1,19 @@
|
||||
require 'formula'
|
||||
|
||||
class GnuWhich < Formula
|
||||
url 'http://ftpmirror.gnu.org/which/which-2.20.tar.gz'
|
||||
homepage 'http://carlo17.home.xs4all.nl/which/'
|
||||
md5 '95be0501a466e515422cde4af46b2744'
|
||||
|
||||
def options
|
||||
[['--default-names', "Do NOT prepend 'g' to the binary; will override system utils."]]
|
||||
end
|
||||
|
||||
def install
|
||||
args = ["--prefix=#{prefix}", "--disable-dependency-tracking"]
|
||||
args << "--program-prefix=g" unless ARGV.include? '--default-names'
|
||||
|
||||
system "./configure", *args
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user