wok view exiftool/receipt @ rev 25470
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 07 10:48:59 2022 +0000 (2022-10-07) |
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 }