501c501817
[jn: add ENV.cxx11] Closes Homebrew/homebrew#28866. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
18 lines
482 B
Ruby
18 lines
482 B
Ruby
require "formula"
|
|
|
|
class Openfst < Formula
|
|
homepage 'http://www.openfst.org/'
|
|
url "http://openfst.cs.nyu.edu/twiki/pub/FST/FstDownload/openfst-1.4.1.tar.gz"
|
|
sha1 "2e5ff58c7c70e681bced49206bd81748eeb7106d"
|
|
|
|
needs :cxx11
|
|
|
|
def install
|
|
ENV.cxx11
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--disable-dependency-tracking",
|
|
"--enable-far",
|
|
"--enable-pdt"
|
|
system "make install"
|
|
end
|
|
end
|