libtextcat 2.2
Closes Homebrew/homebrew#23339. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
431ab4cb25
commit
e7e2c50429
1 changed files with 21 additions and 0 deletions
21
Formula/libtextcat.rb
Normal file
21
Formula/libtextcat.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
require 'formula'
|
||||
|
||||
class Libtextcat < Formula
|
||||
homepage 'http://software.wise-guys.nl/libtextcat/'
|
||||
url 'http://software.wise-guys.nl/download/libtextcat-2.2.tar.gz'
|
||||
sha1 'e98d7149d6a20fdbb58cc0b79cb5e3f95ae304e4'
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
(include/'libtextcat/').install Dir["src/*.h"]
|
||||
share.install "langclass/LM", "langclass/ShortTexts", "langclass/conf.txt"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/createfp < #{prefix}/README"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue