pointgrey: update rule.

This commit is contained in:
Pedro Gonçalves 2016-11-07 17:40:57 +00:00
parent 4c978b0840
commit 9d43ffd5e8

View File

@ -13,6 +13,12 @@ md5=\
"ffee545c0353f1a31008ad3166b1f057"
)
post_unpack()
{
$cmd_cp -r "../flycapture.2.10.3.237_armhf/"* "../$cfg_packages-$version/"
rm -r ../flycapture.2.10.3.237_armhf/
}
requires=\
(
'libdc1394/default'
@ -26,12 +32,12 @@ maintainer=\
host_install()
{
$cmd_cp -r "../flycapture.2.10.3.237_armhf/lib/"* "$cfg_dir_toolchain_sysroot/usr/lib/"
$cmd_cp -r "../flycapture.2.10.3.237_armhf/include/"* "$cfg_dir_toolchain_sysroot/usr/include/"
$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 "../flycapture.2.10.3.237_armhf/lib/"* "$cfg_dir_rootfs/usr/lib/"
$cmd_cp -r "lib/"* "$cfg_dir_rootfs/usr/lib/"
}