2019-11-10 17:30:55 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.sno.phy.queensu.ca/~phil/exiftool/index.html
|
|
|
|
TERMUX_PKG_DESCRIPTION="Utility for reading, writing and editing meta information in a wide variety of files."
|
|
|
|
TERMUX_PKG_LICENSE="Artistic-License-2.0"
|
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
2020-01-09 23:44:18 +01:00
|
|
|
TERMUX_PKG_VERSION=11.83
|
2019-11-10 17:30:55 +01:00
|
|
|
TERMUX_PKG_SRCURL="https://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-$TERMUX_PKG_VERSION.tar.gz"
|
2020-01-09 23:44:18 +01:00
|
|
|
TERMUX_PKG_SHA256=f1f1b3e09c38af5b21c936098571231a4d66aef208d9c57f6a1d952c4a096ecb
|
2019-11-10 17:30:55 +01:00
|
|
|
TERMUX_PKG_DEPENDS="perl"
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
# Change this after package 'perl' was upgraded.
|
2019-12-21 18:00:33 +01:00
|
|
|
local current_perl_version=5.30.1
|
2019-11-10 17:30:55 +01:00
|
|
|
|
|
|
|
install -Dm700 "$TERMUX_PKG_SRCDIR"/exiftool "$TERMUX_PREFIX"/bin/exiftool
|
|
|
|
find "$TERMUX_PKG_SRCDIR"/lib -name "*.pod" -delete
|
|
|
|
mkdir -p "$TERMUX_PREFIX/lib/perl5/site_perl/${current_perl_version}"
|
|
|
|
rm -rf "$TERMUX_PREFIX/lib/perl5/site_perl/${current_perl_version}"/{Image,File}
|
|
|
|
cp -a "$TERMUX_PKG_SRCDIR"/lib/{Image,File} "$TERMUX_PREFIX/lib/perl5/site_perl/${current_perl_version}/"
|
|
|
|
}
|