wok-current view exiv2/receipt @ rev 25441

Up chkrootkit (0.55)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 10:24:23 2022 +0000 (2022-09-02)
parents f38ee01eaf10
children
line source
1 # SliTaz package receipt.
3 PACKAGE="exiv2"
4 VERSION="0.27.5"
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://exiv2.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Exiv2/$PACKAGE/archive/v$VERSION.tar.gz"
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 -D CMAKE_INSTALL_PREFIX=/usr &&
34 cmake --build . &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_folders bin
43 cook_copy_files *.so*
44 }