# exiv2/cfg - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

1. The source tarball used by this package has been renamed.

#---------------------------------------------------------------------

[buildtimes]

00.02 hours (or 000.97 minutes) - HP EliteBook 8560w 32GB RAM
00.03 hours (or 001.52 minutes) - 2021 dedi
00.04 hours (or 002.42 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.05 hours (or 002.92 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.17 hours (or 010.40 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB
                                  RAM

#---------------------------------------------------------------------

[settings]
exepack  = yes
license  = See "license*.txt" in installed tree
licfile  = COPYING
nls      = disabled
unpack   = relaxed
tmpsize  = 86M

setpaths = brotli exiv2 expat zlib libinih

#---------------------------------------------------------------------

[depends]
actools
brotli
cmake
gawk
grep
libinih
sed
zlib

#---------------------------------------------------------------------

[configure]
MANBASE=$PKGDIR_PROD/man
mkdir -p $MANBASE

for x in /usr/lib /usr/lib64 /usr/local/lib
do
    treetextsub --keeptimes \
        --pattern=$x --newtext="$LACSYSTREE/lib"
done

rm -fr obj && mkdir obj && cd obj &&
cmake \
    -DCMAKE_BUILD_TYPE=RELEASE           \
    -DCMAKE_INSTALL_PREFIX=$PKGDIR_PROD  \
    -DCMAKE_INSTALL_LIBDIR=lib           \
    ..

#---------------------------------------------------------------------

[build]
cd obj && smpmake && make install

#---------------------------------------------------------------------

# Original URLs. These URLs were valid at one point, but may have died
# since then. If you download newer versions of tarballs [etc.], don't
# delete  the  original versions,  as you may not  be able  to replace
# them.

[urls]
url_debian  = n/a
url_home    = http://www.exiv2.org/
url_lfs     = n/a

url_tarball = https://github.com/exiv2/exiv2/archive/refs/tags/\
v0.28.5.tar.gz

#---------------------------------------------------------------------

[history]
170512 Updated from 0.25 to 0.26
190922 Updated to 0.27.2
210222 Updated to 0.27.3
210615 Updated to 0.27.4
211022 Updated to 0.27.5
240708 Updated to 0.28.3
250221 Updated to 0.28.5