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/lz4/host.bash

33 lines
401 B
Bash

version=\
(
'112'
)
url=\
(
"https://lz4.googlecode.com/files/lz4-r$version.tar.gz"
)
md5=\
(
'f4bf7806d6a9fd2db428febf6861b94d'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
build()
{
cd "../lz4-r$version" &&
$cmd_make
}
host_install()
{
$cmd_mkdir "$cfg_dir_toolchain/bin"
cd "../lz4-r$version" &&
cp -v programs/{lz4,lz4c} "$cfg_dir_toolchain/bin"
}