diff options
author | Erich Eckner <git@eckner.net> | 2018-05-27 10:13:52 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-27 10:13:52 +0200 |
commit | 14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch) | |
tree | 644ebb60f7155dd5c139d233857684fbcd8546e6 /cpan2cruxPorts/p5-image-exiftool/Pkgfile | |
download | crux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz |
initial commit
Diffstat (limited to 'cpan2cruxPorts/p5-image-exiftool/Pkgfile')
-rw-r--r-- | cpan2cruxPorts/p5-image-exiftool/Pkgfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/cpan2cruxPorts/p5-image-exiftool/Pkgfile b/cpan2cruxPorts/p5-image-exiftool/Pkgfile new file mode 100644 index 0000000..b45e805 --- /dev/null +++ b/cpan2cruxPorts/p5-image-exiftool/Pkgfile @@ -0,0 +1,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 +} |