More stuff, didn't test
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
version = "6.5"
|
||||
revision = 1
|
||||
metadata = meta(
|
||||
description = "Terminal control library with wide-character support",
|
||||
license = "MIT",
|
||||
website = "https://invisible-island.net/ncurses/",
|
||||
)
|
||||
source = tarball_source(
|
||||
url = f"https://invisible-mirror.net/archives/ncurses/ncurses-{version}.tar.gz",
|
||||
sha256 = "136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6",
|
||||
strip_components = 1,
|
||||
)
|
||||
host_deps = ["binutils", "gcc"]
|
||||
deps = [options.libc]
|
||||
|
||||
configure, build, install = autotools(configure_args = [
|
||||
"--with-shared",
|
||||
"--without-debug",
|
||||
"--without-ada",
|
||||
"--enable-pc-files",
|
||||
"--enable-widec",
|
||||
"--with-termlib",
|
||||
"--with-cxx-binding",
|
||||
"--with-cxx-shared",
|
||||
"--with-pkg-config-libdir=/usr/lib/pkgconfig",
|
||||
"--mandir=/usr/share/man",
|
||||
], configure_env = {
|
||||
# Conflicts with GCC 16 headers
|
||||
"cf_cv_type_of_bool": "bool",
|
||||
"cf_cv_cc_bool_type": "1",
|
||||
"cf_cv_builtin_bool": "1",
|
||||
"ac_cv_header_stdbool_h": "yes",
|
||||
})
|
||||
Reference in New Issue
Block a user