New formula: scsh

Signed-off-by: David Höppner <0xffea@gmail.com>

* explain why ENV.gcc_4_0
master
Martin Kuehl 2010-02-20 17:18:47 +01:00 committed by David Höppner
parent 05b4bfa067
commit 42bc2c8f46
1 changed files with 21 additions and 0 deletions

21
Formula/scsh.rb Normal file
View File

@ -0,0 +1,21 @@
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