aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJez Ng2013-04-09 03:15:06 -0400
committerJack Nagel2013-04-09 10:06:28 -0500
commit1424622038b1f2fe0d8e50830fe46387e98e43af (patch)
tree282a0379593d1e04a196f5775483fee3de58f192 /Library
parent1f10d2794402377c9809c8ba306ad9cf25132a59 (diff)
downloadhomebrew-1424622038b1f2fe0d8e50830fe46387e98e43af.tar.bz2
scsh: add HEAD
Closes #19071. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/scsh.rb16
1 files changed, 14 insertions, 2 deletions
diff --git a/Library/Formula/scsh.rb b/Library/Formula/scsh.rb
index 1df845325..804b11c7f 100644
--- a/Library/Formula/scsh.rb
+++ b/Library/Formula/scsh.rb
@@ -5,9 +5,21 @@ class Scsh < Formula
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
- # will not build 64-bit
- ENV.m32
+ if build.head?
+ system "autoreconf"
+ else
+ # will not build 64-bit
+ ENV.m32
+ end
+
# build system is not parallel-safe
ENV.deparallelize
system "./configure", "--disable-debug", "--disable-dependency-tracking",