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/default.bash

35 lines
697 B
Bash
Raw Permalink Normal View History

source "$pkg_common"
2013-07-13 17:19:22 +01:00
requires=\
(
'ncurses/default'
)
2013-07-13 17:19:22 +01:00
configure()
{
2013-07-13 17:19:22 +01:00
./configure \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--build="${cfg_host_canonical}" \
--host="${cfg_target_canonical}" \
--disable-wall
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
$cmd_cp "${cfg_dir_toolchain_sysroot}/usr/lib/"libuuid.so* "${cfg_dir_rootfs}/usr/lib/"
$cmd_cp "${cfg_dir_toolchain_sysroot}/usr/lib/"libblkid.so* "${cfg_dir_rootfs}/usr/lib/"
$cmd_cp "${cfg_dir_toolchain_sysroot}/usr/lib/"libmount.so* "${cfg_dir_rootfs}/usr/lib/"
# More to do with the tools in /usr/bin/
}