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/'
|
2014-03-05 07:22:08 +00:00
|
|
|
url 'https://crfpp.googlecode.com/files/CRF++-0.58.tar.gz'
|
2013-03-26 03:33:21 +00:00
|
|
|
sha1 '979a686a6d73d14cdd0c96a310888fb6bffd2e91'
|
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
|