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/util-linux/host.bash
2016-03-22 12:07:21 +00:00

29 lines
440 B
Bash

source "$pkg_common"
requires=\
(
'termcap/host'
)
configure()
{
cd "$pkg_build_dir" &&
CFLAGS="-I$cfg_dir_toolchain/include" \
"../util-linux-$version/configure" \
--prefix="$cfg_dir_toolchain" \
--disable-wall \
--enable-static \
--disable-shared \
--without-ncurses
}
build()
{
$cmd_make -C "$pkg_build_dir"
}
target_install()
{
$cmd_make -C "$pkg_build_dir" install
}