summaryrefslogtreecommitdiff
path: root/libraries/exiftool/exiftool.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <nobbutl@yahoo.co.uk>2010-05-12 17:40:34 +0200
committerChess Griffin <chess@slackbuilds.org>2010-05-12 17:40:34 +0200
commit21f7936a2b7c4d98023eff4b0fa6ee3f50f7ce84 (patch)
tree96f2a036bc0ac01fe7fb2edc629f825b8e5c4324 /libraries/exiftool/exiftool.SlackBuild
parentbf267aa0514d3716078d0c5f0aab83b70838748a (diff)
downloadslackbuilds-21f7936a2b7c4d98023eff4b0fa6ee3f50f7ce84.tar.gz
libraries/exiftool: Updated for version 7.67
Diffstat (limited to 'libraries/exiftool/exiftool.SlackBuild')
-rw-r--r--libraries/exiftool/exiftool.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/libraries/exiftool/exiftool.SlackBuild b/libraries/exiftool/exiftool.SlackBuild
index 0d6929dfdb..c3d6ff44d6 100644
--- a/libraries/exiftool/exiftool.SlackBuild
+++ b/libraries/exiftool/exiftool.SlackBuild
@@ -5,8 +5,8 @@
# This script is dedicated to the public domain
PRGNAM=exiftool
-VERSION=7.12
-ARCH=${ARCH:-noarch}
+VERSION=7.67
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -32,9 +32,8 @@ make install DESTDIR=$PKG
mv $PKG/usr/share/man $PKG/usr/man
rmdir $PKG/usr/share
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
-)
+
+( cd $PKG/usr/man ; find . -type f -exec gzip -9 {} \; )
( cd $PKG
find . -name perllocal.pod \
@@ -43,6 +42,12 @@ rmdir $PKG/usr/share
| xargs rm -f
)
+# Kill some empty directories
+eval $(perl '-V:archlib')
+eval $(perl '-V:vendorarch')
+rmdir -p $PKG/$vendorarch/auto/Image/ExifTool \
+ $PKG/$archlib 2>/dev/null || true
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a Changes README html/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild