GNU Guile formula
Guile is a library designed to help programmers create flexible applications. Using Guile in an application allows programmers to write plug-ins, or modules (there are many names, but the concept is essentially the same) and users to use them to have an application fit their needs.master
parent
2d406986aa
commit
8363fe20ad
|
@ -0,0 +1,31 @@
|
|||
require 'brewkit'
|
||||
|
||||
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
|
||||
ENV['PKG_CONFIG_PATH'] = "#{HOMEBREW_PREFIX}/lib/pkgconfig"
|
||||
|
||||
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
|
||||
"--with-libreadline-prefix=#{HOMEBREW_PREFIX}"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue