17266951f8
Upgrade libcsv to version 3.0.2. Add code to use `configure` and make to build this. Remove code that sets env vars on the `make` command line because `configure` establishes the correct values. Tested on Lion with clang and llvm from XCode-4.3.3 by getting libcsv to pass make check (~.25sec). Closes Homebrew/homebrew#13404. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
13 lines
390 B
Ruby
13 lines
390 B
Ruby
require 'formula'
|
|
|
|
class Libcsv < Formula
|
|
homepage 'http://sourceforge.net/projects/libcsv/'
|
|
url 'http://downloads.sourceforge.net/project/libcsv/libcsv/libcsv-3.0.2/libcsv-3.0.2.tar.gz'
|
|
sha1 '253f23ecedcfdc5b3e4884458d77d6806c07a48d'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
system 'make'
|
|
system 'make install'
|
|
end
|
|
end
|