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

39 lines
418 B
Bash

version=\
(
"1.2"
)
url=\
(
"http://lsts.pt/glued/lpg-$version.tar.gz"
)
md5=\
(
"d71e2f282372a5cb1021d9e457a3d53f"
)
requires=\
(
'bison/host'
'flex/host'
)
configure()
{
./configure "$cfg_target_canonical-gcc"
}
build()
{
$cmd_make \
BISON="$cfg_dir_toolchain/bin/bison" \
FLEX="$cfg_dir_toolchain/bin/flex"
}
target_install()
{
$cmd_cp "lpg" "$cfg_dir_rootfs/usr/bin"
}