wok-6.x view exiv2/receipt @ rev 25391

updated usb-modeswitch-data (20170806 -> 20191128)
author Hans-G?nter Theisgen
date Mon Aug 01 15:21:41 2022 +0100 (2022-08-01)
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 }