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

54 lines
732 B
Bash
Raw Normal View History

2017-05-08 20:40:42 +01:00
version=\
(
"0.25"
)
url=\
(
"http://lsts.pt/glued/exiv2-${version}.tar.gz"
)
md5=\
(
"258d4831b30f75a01e0234065c6c2806"
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
configure()
{
./configure \
--datadir="$cfg_dir_toolchain_sysroot" \
--prefix="$cfg_dir_rootfs/usr" \
--includedir="$cfg_dir_toolchain_sysroot/usr/include" \
--enable-cross-compile \
--build=$cfg_target_linux \
--host="$cfg_target_canonical" \
--enable-shared \
--disable-static \
--disable-xmp
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
# Libs:
for f in "$cfg_dir_rootfs/lib/"libexiv2*; do
cp -av "$f" "$cfg_dir_toolchain_sysroot/usr/lib"
done
}