libexif: added package.

This commit is contained in:
Renato Caldas 2015-03-06 14:01:44 +00:00
parent 01ec09831e
commit dbe5e873ab

View File

@ -0,0 +1,46 @@
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"*
}