22 lines
329 B
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
|
||
|
}
|