aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJez Ng2013-04-07 02:29:12 -0400
committerJack Nagel2013-04-07 14:19:28 -0500
commitee5de5751707ecffed17b0ddb9d99e17044d6528 (patch)
treef22957419593dadfe96cf972c753c0906afa7384 /Library/Formula
parent1eb59c0e8bc4a54cf804de415750626d3d23c1b6 (diff)
downloadhomebrew-ee5de5751707ecffed17b0ddb9d99e17044d6528.tar.bz2
guile: add HEAD
Closes #19009. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/guile.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/guile.rb b/Library/Formula/guile.rb
index f27f9e8a6..aec29f211 100644
--- a/Library/Formula/guile.rb
+++ b/Library/Formula/guile.rb
@@ -12,6 +12,13 @@ class Guile < Formula
sha1 '4425cc1a60ffe5637972a328880f98746c2a0f5b'
end
+ head 'git://git.sv.gnu.org/guile.git'
+
+ if build.head?
+ depends_on 'automake' => :build
+ depends_on 'gettext' => :build
+ end
+
depends_on 'pkg-config' => :build
depends_on :libtool
depends_on 'libffi'
@@ -33,6 +40,8 @@ class Guile < Formula
end if build.devel?
def install
+ system './autogen.sh' if build.head?
+
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-libreadline-prefix=#{Formula.factory('readline').prefix}"