diff --git a/Formula/csv-fix.rb b/Formula/csv-fix.rb index 62c8574e8a..8ce3cf8fa6 100644 --- a/Formula/csv-fix.rb +++ b/Formula/csv-fix.rb @@ -1,13 +1,19 @@ -require 'formula' +require "formula" class CsvFix < Formula - homepage 'http://code.google.com/p/csvfix/' - url 'https://bitbucket.org/neilb/csvfix/get/version-1.3.zip' - sha1 '2bca2d461434e7bd799e6c886d8eda769e7d3937' + homepage "http://code.google.com/p/csvfix/" + url "https://bitbucket.org/neilb/csvfix/get/version-1.6.tar.gz" + sha1 "ca770b47f2e08a09350c4005e6ab3c524798b440" + + needs :cxx11 def install + # clang on Mt. Lion will try to build against libstdc++, + # despite -std=gnu++0x + ENV.libcxx + system "make lin" - bin.install 'csvfix/bin/csvfix' + bin.install "csvfix/bin/csvfix" end test do