mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
exiftool: bump version, cleanup like other perl packages
This commit is contained in:
@@ -3,23 +3,26 @@ 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="https://www.sno.phy.queensu.ca/~phil/exiftool/"
|
||||
COPYRIGHT="2003-2023 Phil Harvey"
|
||||
HOMEPAGE="https://exiftool.org/"
|
||||
COPYRIGHT="2003-2024 Phil Harvey"
|
||||
LICENSE="GNU GPL v1
|
||||
Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/exiftool/exiftool/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1cbb0b319ddb19c6baf50c633ed6378b20bb9d3167f31aacb402e3fdd53cb7eb"
|
||||
SOURCE_URI="https://exiftool.org/Image-ExifTool-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7da3428d374cb18b2ab7011278d29b85bcac560e0d551efc7a6704ef0e7f2c21"
|
||||
SOURCE_DIR="Image-ExifTool-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
exiftool = $portVersion
|
||||
cmd:exiftool = $portVersion
|
||||
image_exiftool = $portVersion # this is the perl module name
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:perl >= 5.0.0
|
||||
cmd:perl
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -38,19 +41,12 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
make pure_install
|
||||
|
||||
cd "$libDir"/perl5
|
||||
# delete 5.x.y/`uname -m`-haiku/perllocal.pod
|
||||
perllocal=*/*-haiku/perllocal.pod
|
||||
rm $perllocal
|
||||
rmdir -p `dirname $perllocal`
|
||||
|
||||
cd vendor_perl/5.*
|
||||
# delete `uname -m`-haiku/auto/auto/Image/ExifTool/.packlist
|
||||
packlist=*-haiku/auto/Image/ExifTool/.packlist
|
||||
rm $packlist
|
||||
rmdir -p `dirname $packlist`
|
||||
# remove architecture-specific files
|
||||
cd $prefix
|
||||
rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-)
|
||||
# cut extracts the quoted string and strips the prefix (which is perl's and not ours)
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user