wok annotate exiftool/receipt @ rev 25491

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