Skip to content

Commit

Permalink
freeling: add 4.2_9 bottle.
Browse files Browse the repository at this point in the history
  • Loading branch information
gromgit committed Jan 6, 2023
1 parent af9df85 commit 5de7c25
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Formula/freeling.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
class Freeling < Formula
desc "Suite of language analyzers"
homepage "http://nlp.lsi.upc.edu/freeling/"
homepage "https://nlp.lsi.upc.edu/freeling/"
url "https://github.com/TALP-UPC/FreeLing/releases/download/4.2/FreeLing-src-4.2.tar.gz"
sha256 "f96afbdb000d7375426644fb2f25baff9a63136dddce6551ea0fd20059bfce3b"
license "AGPL-3.0-only"
revision 7
revision 9

bottle do
root_url "https://github.com/gromgit/homebrew-core-mojave/releases/download/freeling"
sha256 cellar: :any, mojave: "dc38b68449f7cbc42db713e6ea5edd07ec97da1334e8266a5775a1fdeb1f486c"
sha256 cellar: :any, mojave: "fc1656256e81dda31f0a6f24a3be4868649131a57c0b62eef6bc9f427066d299"
end

depends_on "cmake" => :build
Expand Down Expand Up @@ -41,6 +41,14 @@ class Freeling < Formula
sha256 "8f7f87a630a9d13ea6daebf210b557a095b5cb8747605eb90925a3aecab97e18"
end

# Fixes `error: 'pow' was not declared in this scope` and
# `error: 'sqrt' was not declared in this scope`.
# Remove this and other patches with next release.
patch do
url "https://github.com/TALP-UPC/FreeLing/commit/48eb3470416cbfd0026eae9f9ca832bb68269273.patch?full_index=1"
sha256 "8430804b9a8695d3212946c00562b1cf2d3a0bbb5cb94ac48222f1a952401caf"
end

def install
# Allow compilation without extra data (more than 1 GB), should be fixed
# in next release
Expand Down

0 comments on commit 5de7c25

Please sign in to comment.