summaryrefslogtreecommitdiff
path: root/cpan2cruxPorts/p5-image-exiftool/Pkgfile
blob: b45e8050a1cb3c9e9e5f7fee3e4b0da761be58cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description:	Read and write meta information
# URL:		http://search.cpan.org/~exiftool/Image-ExifTool/
# Maintainer:	Erich Eckner, crux at eckner dot net
# Depends on:	perl
# Optional:	p5-archive-zip p5-posix-strptime

name=p5-image-exiftool
version=10.80
release=1
source=(http://search.cpan.org/CPAN/authors/id/E/EX/EXIFTOOL/Image-ExifTool-${version}.tar.gz)

build() {
	cd Image-ExifTool-$version

	perl Makefile.PL
	make OPTIMIZE="$CFLAGS" DESTDIR="$PKG" install

	find "$PKG" -depth \
		-type f \( -name .packlist -o -name \*.bs -o -name autosplit.ix -o -name perllocal.pod \) -delete , \
		-type d -empty -exec rmdir {} +
	find "$PKG" \
		-type f -name README -delete
}