From 6095018ba48e5f86008a35ab971a12d1fac13863 Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Sat, 14 Jul 2012 16:09:08 -0700 Subject: libcsv 3.0.2 & use configure 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 #13404. Signed-off-by: Misty De Meo --- Library/Formula/libcsv.rb | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'Library/Formula/libcsv.rb') diff --git a/Library/Formula/libcsv.rb b/Library/Formula/libcsv.rb index 9f1d4badc..eb6e3dae9 100644 --- a/Library/Formula/libcsv.rb +++ b/Library/Formula/libcsv.rb @@ -2,18 +2,12 @@ require 'formula' class Libcsv < Formula homepage 'http://sourceforge.net/projects/libcsv/' - url 'http://downloads.sourceforge.net/project/libcsv/libcsv/libcsv-3.0.1/libcsv-3.0.1.tar.gz' - md5 '926b55d732b775a49ed2539c4db5c102' + url 'http://downloads.sourceforge.net/project/libcsv/libcsv/libcsv-3.0.2/libcsv-3.0.2.tar.gz' + sha1 '253f23ecedcfdc5b3e4884458d77d6806c07a48d' def install - include.mkpath - lib.mkpath - man.mkpath - - system "make", "CC=#{ENV.cc}", - "INCDIR=#{include}", - "LIBDIR=#{lib}", - "MANDIR=#{man}", - "install" + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" + system 'make' + system 'make install' end end -- cgit v1.2.3