*: Switch to python
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
version = "6.5"
|
||||
revision = 1
|
||||
description = "Terminal control library with wide-character support"
|
||||
license = "MIT"
|
||||
url = "https://invisible-island.net/ncurses/"
|
||||
source = tarball(
|
||||
url=f"https://invisible-mirror.net/archives/ncurses/ncurses-{version}.tar.gz",
|
||||
sha256="136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6",
|
||||
)
|
||||
host_deps = ["autoconf", "automake", "binutils", "gcc"]
|
||||
deps = [profile["libc"], "libstdc++"]
|
||||
|
||||
configure, build, _ = 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",
|
||||
"--with-tic-path=/usr/bin/tic",
|
||||
"--with-infocmp-path=/usr/bin/infocmp",
|
||||
"--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",
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
def install(self):
|
||||
autotools_install(self, [f"DESTDIR={self.dest_dir}"])
|
||||
Reference in New Issue
Block a user