diff options
| author | Martin Kuehl | 2010-02-16 15:18:32 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-10 16:01:23 -0700 |
| commit | 8cf91006246c7c5657075be5974e819096a56e57 (patch) | |
| tree | 2c91a6c2ae150546792b59bb22b3671f5948bbde /Library/Formula | |
| parent | 055805977a0cd4baab796dc5591f18deee00827c (diff) | |
| download | homebrew-8cf91006246c7c5657075be5974e819096a56e57.tar.bz2 | |
Updated guile
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Downgraded stable version to 1.8.x
* Added head version 1.9.11
* so fix is needed for 1.8 and 1.9
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/guile.rb | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/Library/Formula/guile.rb b/Library/Formula/guile.rb index b1aaacbbc..4c9f02000 100644 --- a/Library/Formula/guile.rb +++ b/Library/Formula/guile.rb @@ -1,9 +1,15 @@ require 'formula' class Guile <Formula - @url='ftp://alpha.gnu.org/gnu/guile/guile-1.9.3.tar.gz' - @homepage='http://www.gnu.org/software/guile/' - @sha1='c8d1d25ed413b48493ec5b0cbf4de8593cab4a21' + url 'ftp://ftp.gnu.org/gnu/guile/guile-1.8.7.tar.gz' + head 'ftp://alpha.gnu.org/gnu/guile/guile-1.9.11.tar.gz' + homepage 'http://www.gnu.org/software/guile/' + + if ARGV.include? "--HEAD" + sha1 'abd1424a927302db31395db828d4d14fa68d13f9' + else + sha1 '24cd2f06439c76d41d982a7384fe8a0fe5313b54' + end depends_on 'pkg-config' depends_on 'libffi' @@ -15,11 +21,12 @@ class Guile <Formula depends_on 'readline' def install - system "./configure", - "--prefix=#{prefix}", - "--disable-debug", - "--disable-dependency-tracking", - "--with-libreadline-prefix=#{Formula.factory('readline').prefix}" + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--with-libreadline-prefix=#{Formula.factory('readline').prefix}" system "make install" + + # A really messed up workaround required on OS X --mkhl + lib.cd { Dir["*.dylib"].each {|p| ln_sf p, "#{File.basename(p, ".dylib")}.so" }} end -end
\ No newline at end of file +end |
