homebrew-core/Formula/scsh.rb

32 lines
751 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Scsh < Formula
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'
sha1 'a1eaf0d0593e14914824898a0c3ec166429affd7'
head 'https://github.com/scheme/scsh.git'
if build.head?
depends_on 'automake' => :build
depends_on 'scheme48'
end
def install
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
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--infodir=#{info}",
"--mandir=#{man}"
system "make install"
end
end