aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDavid Höppner2009-09-19 20:02:03 +0200
committerMax Howell2009-09-29 23:33:22 +0100
commitb0ef1868a63d62b5ba439bf266667d3132643c95 (patch)
treeb4ffb25ef89079f47106fedfdee7532f3b3aa54d /Library
parent872ed0e8d345c836670382dbd625e293a117d641 (diff)
downloadhomebrew-b0ef1868a63d62b5ba439bf266667d3132643c95.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/guile.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/guile.rb b/Library/Formula/guile.rb
new file mode 100644
index 000000000..05f1350d2
--- /dev/null
+++ b/Library/Formula/guile.rb
@@ -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 \ No newline at end of file