Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
guile: add HEAD
Browse files Browse the repository at this point in the history
Closes #19009.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
int3 authored and shelhamer committed Mar 12, 2014
1 parent b524c69 commit 9bf596d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Library/Formula/guile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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}"
Expand Down

0 comments on commit 9bf596d

Please sign in to comment.