2011-08-18 08:23:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Crfxx < Formula
|
2012-07-12 17:40:00 +00:00
|
|
|
homepage 'http://code.google.com/p/crfpp/'
|
|
|
|
url 'http://crfpp.googlecode.com/files/CRF++-0.57.tar.gz'
|
|
|
|
sha1 'bb80676edd8fee5835b967700c30884b50a7c766'
|
2011-08-18 08:23:29 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make", "CXXFLAGS=#{ENV.cflags}", "install"
|
|
|
|
end
|
|
|
|
end
|