Skip to content

Commit

Permalink
libunistring 1.3
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 and carlocab committed Oct 18, 2024
1 parent 4e09c95 commit b6273d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1635,6 +1635,7 @@ libtrng
libucl
libunibreak
libuninameslist
libunistring
libunwind
libupnp
liburing
Expand Down
9 changes: 5 additions & 4 deletions Formula/lib/libunistring.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Libunistring < Formula
desc "C string library for manipulating Unicode strings"
homepage "https://www.gnu.org/software/libunistring/"
url "https://ftp.gnu.org/gnu/libunistring/libunistring-1.2.tar.gz"
mirror "https://ftpmirror.gnu.org/libunistring/libunistring-1.2.tar.gz"
mirror "http://ftp.gnu.org/gnu/libunistring/libunistring-1.2.tar.gz"
sha256 "fd6d5662fa706487c48349a758b57bc149ce94ec6c30624ec9fdc473ceabbc8e"
url "https://ftp.gnu.org/gnu/libunistring/libunistring-1.3.tar.gz"
mirror "https://ftpmirror.gnu.org/libunistring/libunistring-1.3.tar.gz"
mirror "http://ftp.gnu.org/gnu/libunistring/libunistring-1.3.tar.gz"
sha256 "8ea8ccf86c09dd801c8cac19878e804e54f707cf69884371130d20bde68386b7"
license any_of: ["GPL-2.0-only", "LGPL-3.0-or-later"]

bottle do
Expand All @@ -22,6 +22,7 @@ def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
ENV.append "LDFLAGS", "-liconv" if OS.mac? && MacOS.version >= :sequoia
system "make"
system "make", "check" if !OS.mac? || MacOS.version < :sonoma
system "make", "install"
Expand Down

0 comments on commit b6273d1

Please sign in to comment.