From 91c2209c39bedcaa0ee667f83c35d7feb32347de Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Sat, 9 Jun 2012 03:54:05 -0700 Subject: 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 --- Library/Formula/colpack.rb | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3