aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/libcsv.rb16
1 files changed, 5 insertions, 11 deletions
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