aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/scsh.rb
blob: 97fa8d42596c1b12980b361621a66353d57ca4e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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