2c711aa029
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>
12 lines
355 B
Ruby
12 lines
355 B
Ruby
require 'formula'
|
|
|
|
class Colpack < Formula
|
|
homepage 'http://www.cscapes.org/coloringpage/software.htm'
|
|
url 'http://www.cscapes.org/download/ColPack/ColPack-1.0.6.tar.gz'
|
|
sha1 '4be7e9e818e0c72fc8c72e29b1898d6dd46348aa'
|
|
|
|
def install
|
|
system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
|
|
system "make install"
|
|
end
|
|
end
|