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/'
|
2013-03-26 03:33:21 +00:00
|
|
|
url 'http://crfpp.googlecode.com/files/CRF++-0.58.tar.gz'
|
|
|
|
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
|