homebrew-core/Formula/crf++.rb

13 lines
369 B
Ruby
Raw Normal View History

require 'formula'
class Crfxx < Formula
url 'http://downloads.sourceforge.net/project/crfpp/crfpp/0.54/CRF++-0.54.tar.gz'
homepage 'http://crfpp.sourceforge.net/'
md5 'a3c12c99b25e06d18147d50f0f92e8d3'
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make", "CXXFLAGS=#{ENV.cflags}", "install"
end
end