|
|
|
@ -8,10 +8,8 @@ package("ncurses") |
|
|
|
|
"ftp://ftp.gnu.org/gnu/ncurses/ncurses-$(version).tar.gz") |
|
|
|
|
add_versions("6.1", "aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17") |
|
|
|
|
|
|
|
|
|
on_load(function (package) |
|
|
|
|
package:addvar("includedirs", "include/ncurses", "include") |
|
|
|
|
package:addvar("links", "ncurses", "form", "panel", "menu") |
|
|
|
|
end) |
|
|
|
|
add_includedirs("include/ncurses", "include") |
|
|
|
|
add_links("ncurses", "form", "panel", "menu") |
|
|
|
|
|
|
|
|
|
on_install("linux", "macosx", function (package) |
|
|
|
|
import("package.tools.autoconf").install(package, {"--without-manpages"}) |
|
|
|
|