Merge pull request #337 from TwoFX/exiftool

Add exiftool recipe
This commit is contained in:
waddlesplash
2015-12-11 00:15:24 -05:00

View File

@@ -0,0 +1,43 @@
SUMMARY="A Perl library and a command-line tool for editing image metdata"
DESCRIPTION="ExifTool is both a Perl library and a command-line script that \
enables editing of the metadata of a large variety of files. This includes all \
major image formats which support metadata as well as the vendor-specific \
metadata of numerous digital cameras."
HOMEPAGE="http://www.sno.phy.queensu.ca/~phil/exiftool/"
COPYRIGHT="2003-2015 Phil Harvey"
LICENSE="GNU GPL v1
Artistic"
REVISION="1"
SOURCE_URI="http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-10.07.tar.gz"
CHECKSUM_SHA256="012ac8bf1b48b78d3f09b17d172765956968423f0ded737f8e0a6cf3f3316218"
SOURCE_DIR="Image-ExifTool-$portVersion"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
exiftool = $portVersion
cmd:exiftool = $portVersion
"
REQUIRES="
haiku
perl >= 5.0.0
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:perl
"
BUILD()
{
perl Makefile.PL PREFIX=$prefix
make
}
INSTALL()
{
make install
}