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

41 lines
582 B
Bash

version=\
(
'2.0.3'
)
url=\
(
"http://horms.net/projects/kexec/kexec-tools/kexec-tools-$version.tar.bz2"
)
md5=\
(
'b3ced2097ce3981abba38ceedc84f939'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
configure()
{
"../kexec-tools-$version/configure" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--prefix="$cfg_dir_rootfs"
}
build()
{
$cmd_make
}
target_install()
{
$cmd_target_strip \
"build/sbin/kexec" \
-o "$cfg_dir_rootfs/sbin/kexec"
}