homebrew-core/Formula/openfst.rb

17 lines
527 B
Ruby

require 'formula'
class Openfst < Formula
homepage 'http://www.openfst.org/'
url 'http://openfst.cs.nyu.edu/twiki/pub/FST/FstDownload/openfst-1.3.4.tar.gz'
sha1 '21972c05896b2154a3fa1bdca5c9a56350194b38'
def install
ENV.libstdcxx if ENV.compiler == :clang && MacOS.version >= :mavericks
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking",
"--enable-far",
"--enable-pdt"
system "make install"
end
end