|
|
|
@ -3,13 +3,14 @@ package("ncurses") |
|
|
|
|
set_homepage("https://www.gnu.org/software/ncurses/") |
|
|
|
|
set_description("A free software emulation of curses.") |
|
|
|
|
|
|
|
|
|
add_urls("ftp://ftp.invisible-island.net/ncurses/ncurses-$(version).tar.gz", |
|
|
|
|
"https://invisible-mirror.net/archives/ncurses/ncurses-$(version).tar.gz", |
|
|
|
|
"ftp://ftp.gnu.org/gnu/ncurses/ncurses-$(version).tar.gz") |
|
|
|
|
add_urls("https://ftpmirror.gnu.org/ncurses/ncurses-$(version).tar.gz", |
|
|
|
|
"https://ftp.gnu.org/pub/gnu/ncurses/ncurses-$(version).tar.gz", |
|
|
|
|
"https://invisible-mirror.net/archives/ncurses/ncurses-$(version).tar.gz") |
|
|
|
|
add_versions("6.1", "aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17") |
|
|
|
|
add_versions("6.2", "30306e0c76e0f9f1f0de987cf1c82a5c21e1ce6568b9227f7da5b71cbea86c9d") |
|
|
|
|
add_versions("6.3", "97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059") |
|
|
|
|
|
|
|
|
|
add_configs("widec", { description = "Compile with wide-char/UTF-8 code.", default = true, type = "boolean"}) |
|
|
|
|
add_configs("widec", {description = "Compile with wide-char/UTF-8 code.", default = true, type = "boolean"}) |
|
|
|
|
|
|
|
|
|
on_load(function (package) |
|
|
|
|
if package:config("widec") then |
|
|
|
|