2010-02-20 16:18:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Scsh < Formula
|
2010-02-20 16:18:47 +00:00
|
|
|
homepage 'http://www.scsh.net/'
|
2013-01-05 06:46:22 +00:00
|
|
|
url 'http://ftp.scsh.net/pub/scsh/0.6/scsh-0.6.7.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'a1eaf0d0593e14914824898a0c3ec166429affd7'
|
2010-02-20 16:18:47 +00:00
|
|
|
|
2013-09-22 01:47:39 +00:00
|
|
|
head do
|
|
|
|
url 'https://github.com/scheme/scsh.git'
|
2013-04-09 07:15:06 +00:00
|
|
|
|
|
|
|
depends_on 'automake' => :build
|
|
|
|
depends_on 'scheme48'
|
|
|
|
end
|
|
|
|
|
2013-09-22 01:47:39 +00:00
|
|
|
# stable segfaults when built 64-bit; see #21351
|
|
|
|
env :std unless build.head?
|
|
|
|
|
2010-02-20 16:18:47 +00:00
|
|
|
def install
|
2013-04-09 07:15:06 +00:00
|
|
|
if build.head?
|
|
|
|
system "autoreconf"
|
|
|
|
else
|
|
|
|
# will not build 64-bit
|
|
|
|
ENV.m32
|
|
|
|
end
|
|
|
|
|
2012-04-08 16:13:36 +00:00
|
|
|
# build system is not parallel-safe
|
|
|
|
ENV.deparallelize
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--infodir=#{info}",
|
|
|
|
"--mandir=#{man}"
|
2010-02-20 16:18:47 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|