SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "exiftool"

# SliTaz package receipt.

PACKAGE="exiftool"
VERSION="12.50"
CATEGORY="system-tools"
SHORT_DESC="Application for reading, writing and editing meta information in a wide variety of files."
MAINTAINER="gokhlayeh@slitaz.org"
LICENSE="Artistic"
WEB_SITE="https://exiftool.org"

SOURCE="Image-ExifTool"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/$SOURCE-$VERSION.tar.gz"

SUGGESTED="perl-archive-zip perl-io-compress"
DEPENDS="perl"
BUILD_DEPENDS="perl"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    perl Makefile.PL &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr    $fs
    rm -rf            $fs/usr/share
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)