wok view exiv2/receipt @ rev 24525

Up libav (0.6.6 -> 12.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 22 16:15:28 2022 +0000 (2022-02-22)
parents 5baa9d957a85
children b2a37165af08
line source
1 # SliTaz package receipt.
3 PACKAGE="exiv2"
4 VERSION="0.27.3"
5 CATEGORY="graphics"
6 SHORT_DESC="Exif and Iptc metadata manipulation library and tools."
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.exiv2.org/"
11 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
12 WGET_URL="${WEB_SITE}builds/$TARBALL"
14 DEPENDS="expat gcc-lib-base zlib"
15 BUILD_DEPENDS="cmake expat-dev gcc-lib-base zlib-dev"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://exiv2.org/download.html 2>/dev/null | \
23 sed '/Exiv2 v/!d;/ource/!d;s|.*v2-||;s|-.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir build
30 cd build
31 cmake .. \
32 -G "Unix Makefiles" \
33 -DCMAKE_INSTALL_PREFIX=/usr &&
34 cmake --build . &&
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }