diff options
| author | nibbles 2bits | 2012-06-09 03:54:05 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-09 07:30:22 -0700 |
| commit | 91c2209c39bedcaa0ee667f83c35d7feb32347de (patch) | |
| tree | 435c7f3fa7325dc7236df9bae14105b1376c0bdd /Library/Formula/colpack.rb | |
| parent | fa3877652dc7243c62da8c61c1648d65f538823a (diff) | |
| download | homebrew-91c2209c39bedcaa0ee667f83c35d7feb32347de.tar.bz2 | |
colpack 1.0.6
Upgrade colpack to version 1.0.6.
The `makefile` doesn't exist and has to be created with configure.
Remove the `inreplace` that applied to the `makefile`.
Add a call to `system "./configure"`. It creates a Makefile that
has all the features the previous formula inrepalced.
This software is used by adol-c, and adol-c was tested against this
new version. Tested with llvm and clang on Lion.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/colpack.rb')
| -rw-r--r-- | Library/Formula/colpack.rb | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/Library/Formula/colpack.rb b/Library/Formula/colpack.rb index 3cf5e2fd9..9656669d4 100644 --- a/Library/Formula/colpack.rb +++ b/Library/Formula/colpack.rb @@ -1,19 +1,12 @@ require 'formula' class Colpack < Formula - url 'http://www.cscapes.org/download/ColPack/ColPack-1.0.4.tar.gz' homepage 'http://www.cscapes.org/coloringpage/software.htm' - md5 '0595cc882b0232be773ec29e7de24fc1' + url 'http://www.cscapes.org/download/ColPack/ColPack-1.0.6.tar.gz' + sha1 '4be7e9e818e0c72fc8c72e29b1898d6dd46348aa' def install - inreplace "makefile" do |s| - s.gsub! ".so", ".dylib" - s.gsub! "-soname,", "-install_name,#{prefix}/build/lib/" - s.gsub! "\$\(PWD\)", ".." - s.gsub! ".exe", "" - end - system "make" - prefix.install Dir['build/include','build/lib'] - bin.install('ColPack') + system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking' + system "make install" end end |
