forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ucto.rb
30 lines (26 loc) · 1.12 KB
/
ucto.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
class Ucto < Formula
desc "Unicode tokenizer"
homepage "https://ilk.uvt.nl/ucto/"
url "https://github.com/LanguageMachines/ucto/releases/download/v0.9.6/ucto-0.9.6.tar.gz"
sha256 "c10b19f6f6de36cb22a61e663f6b0eaf1aa6fe6557989edce4a30ed28fc3eb64"
bottle do
sha256 "da154d4cd2648113d06fd505922a159f97f4b866ed34d1f4877ba907a2b22749" => :sierra
sha256 "d7efe3bb35ac31bfdacd09bd4da7336d16cd970a83a58fa6399f56d28ba37779" => :el_capitan
sha256 "ab8cbbcaff043acbebe4ca65f1aceab7acff12ecd2883491d2d93f394b6feb10" => :yosemite
sha256 "d665537d8665a6b6d7c1e7ef18f2269bc25752988172295d0034b2370fd45af8" => :x86_64_linux
end
option "without-check", "skip build-time checks (not recommended)"
depends_on "pkg-config" => :build
depends_on "icu4c"
depends_on "libfolia"
depends_on "libxslt"
depends_on "libxml2"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "check" if build.with? "check"
system "make", "install"
end
end