homebrew-core/Formula/freexl.rb

31 lines
1 KiB
Ruby
Raw Normal View History

class Freexl < Formula
desc "Library to extract data from Excel .xls files"
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]
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
def install
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
end
end