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/libexif/default.bash
2015-03-06 14:01:44 +00:00

47 lines
739 B
Bash

version=\
(
"0.6.21"
)
url=\
(
"http://sourceforge.net/projects/libexif/files/libexif/$version/libexif-$version.tar.bz2"
)
md5=\
(
"27339b89850f28c8f1c237f233e05b27"
)
maintainer=\
(
"Renato Caldas <rmsc@fe.up.pt>"
)
configure()
{
../libexif-$version/configure \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--target=$cfg_target_canonical \
--host=$cfg_target_canonical \
--build=$cfg_host_canonical \
--disable-static \
--enable-shared
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
cp -a $cfg_dir_toolchain_sysroot/usr/lib/libexif*so* "$cfg_dir_rootfs/lib"
$cmd_target_strip -v "$cfg_dir_rootfs/lib/libexif.so"*
}