27 lines
790 B
TOML
27 lines
790 B
TOML
[build]
|
|
type = "autotools"
|
|
|
|
[build.flags]
|
|
configure = ["--disable-static"]
|
|
skip_tests = true
|
|
build_32 = true
|
|
|
|
[dependencies]
|
|
runtime = ["glibc"]
|
|
|
|
[dependencies.lib32]
|
|
runtime = ["lib32-glibc"]
|
|
|
|
[package]
|
|
description = "library that provides functions for manipulating Unicode strings and for manipulating C strings according to the Unicode standard"
|
|
homepage = "https://www.gnu.org/software/libunistring/"
|
|
license = "GPL-2.0-or-later OR LGPL-3.0-or-later"
|
|
name = "libunistring"
|
|
version = "1.4.1"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
sha256 = "67d88430892527861903788868c77802a217b0959990f7449f2976126a307763"
|
|
url = "https://mirrors.kernel.org/gnu/libunistring/libunistring-1.4.1.tar.xz"
|
|
post_extract = [ '''sed -r '/_GL_EXTERN_C/s/w?memchr|bsearch/(&)/' -i $(find -name \*.in.h)''' ]
|