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

29 lines
440 B
Bash
Raw Normal View History

source "$pkg_common"
2013-07-13 17:19:22 +01:00
requires=\
(
'termcap/host'
)
2013-07-13 17:19:22 +01:00
configure()
{
cd "$pkg_build_dir" &&
CFLAGS="-I$cfg_dir_toolchain/include" \
2013-07-13 17:19:22 +01:00
"../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
}