wok view exiftool/receipt @ rev 25709
typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 25 12:19:41 2024 +0000 (3 months ago) |
parents | 54dc5622a785 |
children | 455748513a4c |
line source
1 # SliTaz package receipt.
3 PACKAGE="exiftool"
4 VERSION="12.77"
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="http://www.cpan.org/authors/id/E/EX/EXIFTOOL/$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_SITE 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 }