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

42 lines
663 B
Bash
Raw Normal View History

2013-07-13 17:19:22 +01:00
version=\
(
'2.1.2'
)
url=\
(
"http://downloads.sourceforge.net/libdc1394/libdc1394-$version.tar.gz"
)
md5=\
(
'b85f1ade88d8d96688d5965ed8603d53'
)
configure()
{
"../libdc1394-$version/configure" \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
2017-05-11 21:35:26 +01:00
--disable-examples \
2013-07-13 17:19:22 +01:00
--build="$cfg_host_canonical"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libdc1394*so*; do
$cmd_target_strip "$f" -o "$cfg_dir_rootfs/lib/$(basename "$f")"
done
}