2012-01-08 21:38:55 +00:00
|
|
|
class Freexl < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Library to extract data from Excel .xls files"
|
2015-03-29 00:11:34 +00:00
|
|
|
homepage "https://www.gaia-gis.it/fossil/freexl/index"
|
|
|
|
url "https://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-1.0.1.tar.gz"
|
|
|
|
sha256 "df0127e1e23e9ac9a189c27880fb71207837e8cba93d21084356491c9934b89b"
|
|
|
|
|
|
|
|
option "without-check", "Skip compile-time make checks."
|
|
|
|
|
|
|
|
depends_on "doxygen" => [:optional, :build]
|
2012-01-08 21:38:55 +00:00
|
|
|
|
2014-04-10 10:40:32 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-03-29 15:56:37 +00:00
|
|
|
sha256 "5684d45dcd517ae87312fff00b4ac0eb16f3343ddd8df25d39206839b022cadd" => :yosemite
|
|
|
|
sha256 "5d007d42d495824c89f50b8eeabd35deaf32abf343573f30d68502bf8979d157" => :mavericks
|
|
|
|
sha256 "53345a758e705765c6473327cb91c591ab50858144490973549f89750b31656d" => :mountain_lion
|
2014-04-10 10:40:32 +00:00
|
|
|
end
|
|
|
|
|
2012-01-08 21:38:55 +00:00
|
|
|
def install
|
2015-03-29 00:11:34 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}",
|
|
|
|
"--disable-silent-rules"
|
|
|
|
|
|
|
|
system "make", "check" if build.with? "check"
|
|
|
|
system "make", "install"
|
|
|
|
|
|
|
|
if build.with? "doxygen"
|
|
|
|
system "doxygen"
|
|
|
|
doc.install "html"
|
|
|
|
end
|
2012-01-08 21:38:55 +00:00
|
|
|
end
|
|
|
|
end
|