42bc2c8f46
Signed-off-by: David Höppner <0xffea@gmail.com> * explain why ENV.gcc_4_0
21 lines
492 B
Ruby
21 lines
492 B
Ruby
require 'formula'
|
|
|
|
class Scsh <Formula
|
|
url 'http://ftp.scsh.net/pub/scsh/0.6/scsh-0.6.7.tar.gz'
|
|
homepage 'http://www.scsh.net/'
|
|
md5 '69c88ca86a8aaaf0f87d253b99d339b5'
|
|
|
|
def install
|
|
# 4.2 segfaults in building phase
|
|
ENV.gcc_4_0
|
|
configure_args = [
|
|
"--prefix=#{prefix}",
|
|
"--infodir=#{info}",
|
|
"--mandir=#{man}",
|
|
"--disable-debug",
|
|
"--disable-dependency-tracking"
|
|
]
|
|
system "./configure", *configure_args
|
|
system "make install"
|
|
end
|
|
end
|