This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/ncurses/host.bash

22 lines
329 B
Bash

source $pkg_common
configure()
{
cd "$pkg_build_dir" &&
tar -C "../ncurses-$version" -c -f - . | tar -x -f - &&
./configure \
--prefix="$cfg_dir_toolchain" \
--disable-nls \
--with-shared
}
build()
{
$cmd_make -C "$pkg_build_dir"
}
host_install()
{
$cmd_make -C "$pkg_build_dir" install
}