wok view exiftool/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
parents a4e0f9035e33
children 3c575401ce94
line source
1 # SliTaz package receipt.
3 PACKAGE="exiftool"
4 VERSION="12.50"
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 }