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
2015-09-28 16:12:18 +01:00

35 lines
697 B
Bash

source "$pkg_common"
requires=\
(
'ncurses/default'
)
configure()
{
./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/
}