# SliTaz package receipt.

PACKAGE="exiftool"
VERSION="8.40"
CATEGORY="system-tools"
SHORT_DESC="Application for reading, writing and editing meta information in a wide variety of files."
MAINTAINER="gokhlayeh@slitaz.org"
DEPENDS="perl"
BUILD_DEPENDS="perl"
SUGGESTED="perl-archive-zip perl-io-compress"
SOURCE="Image-ExifTool"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://owl.phy.queensu.ca/~phil/exiftool/"
WGET_URL="http://owl.phy.queensu.ca/~phil/exiftool/$TARBALL"

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $_pkg/usr $fs
	rm -rf $fs/usr/share
}