2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 18:02:03 +00:00
|
|
|
|
|
|
|
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'
|
|
|
|
|
|
|
|
depends_on 'libunistring'
|
|
|
|
depends_on 'bdw-gc'
|
|
|
|
depends_on 'gmp'
|
|
|
|
|
|
|
|
# GNU Readline is required
|
|
|
|
# libedit won't work.
|
|
|
|
depends_on 'readline'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
# Specifically look for readline here
|
|
|
|
# At least, we don't want the fake readline in
|
|
|
|
# /usr/lib to trump us, since it doesn't export
|
|
|
|
# all the same symbols
|
|
|
|
# --adamv
|
2009-09-29 22:25:26 +00:00
|
|
|
"--with-libreadline-prefix=#{Formula.factory('readline').prefix}"
|
2009-09-19 18:02:03 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|