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/pointgrey/default.bash
2016-11-07 18:46:06 +00:00

44 lines
643 B
Bash

version=\
(
"2.10.3.237"
)
url=\
(
"https://www.dropbox.com/s/ediz2btaaq6a8sc/flycapture.$version_armhf.tar.gz"
)
md5=\
(
"ffee545c0353f1a31008ad3166b1f057"
)
post_unpack()
{
$cmd_cp -r "../flycapture.2.10.3.237_armhf/"* "../pointgrey-$version/"
rm -r ../flycapture.2.10.3.237_armhf/
}
requires=\
(
'libdc1394/default'
'libusb/default'
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
host_install()
{
$cmd_cp -r "lib/"* "$cfg_dir_toolchain_sysroot/usr/lib/"
$cmd_cp -r "include/"* "$cfg_dir_toolchain_sysroot/usr/include/"
}
target_install()
{
$cmd_cp -r "lib/"* "$cfg_dir_rootfs/usr/lib/"
}