30 lines
977 B
Ruby
30 lines
977 B
Ruby
class Freexl < Formula
|
|
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]
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "5684d45dcd517ae87312fff00b4ac0eb16f3343ddd8df25d39206839b022cadd" => :yosemite
|
|
sha256 "5d007d42d495824c89f50b8eeabd35deaf32abf343573f30d68502bf8979d157" => :mavericks
|
|
sha256 "53345a758e705765c6473327cb91c591ab50858144490973549f89750b31656d" => :mountain_lion
|
|
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
|