wok view exiftool/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents ad8b9ff412d2
children ed5f25d05ff6
line source
1 # SliTaz package receipt.
3 PACKAGE="exiftool"
4 VERSION="12.40"
5 CATEGORY="system-tools"
6 SHORT_DESC="Application for reading, writing and editing meta information in a wide variety of files."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="Artistic"
9 WEB_SITE="https://exiftool.org"
11 SOURCE="Image-ExifTool"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/$SOURCE-$VERSION.tar.gz"
15 SUGGESTED="perl-archive-zip perl-io-compress"
16 DEPENDS="perl"
17 BUILD_DEPENDS="perl"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 perl Makefile.PL &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 rm -rf $fs/usr/share
39 }