aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/asymptote.rb
diff options
context:
space:
mode:
authorWill Robertson2010-10-18 22:53:48 +1030
committerAdam Vandenberg2010-10-18 06:56:18 -0700
commitc46c80abdd010aa89c205ed7e8d509e0d3df2520 (patch)
tree9491d719bf87445c3b6203218e2ff40ca4edc504 /Library/Formula/asymptote.rb
parent89a5948c9e902ad860655d6a24943a0b9b250707 (diff)
downloadhomebrew-c46c80abdd010aa89c205ed7e8d509e0d3df2520.tar.bz2
asymptote: update to latest version 2.05
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/asymptote.rb')
-rw-r--r--Library/Formula/asymptote.rb23
1 files changed, 17 insertions, 6 deletions
diff --git a/Library/Formula/asymptote.rb b/Library/Formula/asymptote.rb
index 6af373e13..a84d0ce0e 100644
--- a/Library/Formula/asymptote.rb
+++ b/Library/Formula/asymptote.rb
@@ -3,9 +3,9 @@ require 'formula'
def TeX_installed?; return `which latex` != ''; end
class Asymptote <Formula
- url 'http://downloads.sourceforge.net/asymptote/asymptote-2.04.src.tgz'
+ url 'http://downloads.sourceforge.net/asymptote/asymptote-2.05.src.tgz'
homepage 'http://asymptote.sourceforge.net/'
- md5 '6adb5d7714b662152b6f6f16c24f5751'
+ md5 '9194e477a47869f3039ad9ac917924d3'
depends_on 'readline'
depends_on 'bdw-gc'
@@ -34,8 +34,7 @@ class Asymptote <Formula
end
system "./configure", "--prefix=#{prefix}",
- "--enable-gc=#{HOMEBREW_PREFIX}",
- "--disable-fftw", "--disable-gsl" # follow TeX Live
+ "--enable-gc=#{HOMEBREW_PREFIX}"
system "make install"
link_asy_texmfhome
end
@@ -65,8 +64,20 @@ class Asymptote <Formula
but you get the idea.
-2) If you wish to use xasy, run the following command to install the Python
- Imaging Library (PIL):
+2) If you want to have Asymptote compiled with support for fftw or gsl
+ (fast fourier transforms or the GNU Scientific Library) they must be
+ manually installed first:
+
+ brew install fftw
+ brew install gsl
+
+ They are not compiled by default because they take a long time to compile
+ and they are not required by most users. (And they're not included in the
+ TeX Live build of Asymptote.)
+
+
+3) If you wish to use xasy, you must first install the Python Imaging
+ Library (PIL):
easy_install http://effbot.org/downloads/Imaging-1.1.7.tar.gz