mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
libraries/exiftool: Miscellaneous cleanups
This commit is contained in:
parent
ece0c60acb
commit
082c0d33c8
1 changed files with 15 additions and 8 deletions
|
@ -6,10 +6,19 @@
|
|||
|
||||
PRGNAM=exiftool
|
||||
VERSION=8.00
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) export ARCH=i486 ;;
|
||||
arm*) export ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) export ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -33,14 +42,12 @@ 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 {} \; )
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \; )
|
||||
|
||||
( cd $PKG
|
||||
find . -name perllocal.pod \
|
||||
-o -name ".packlist" \
|
||||
-o -name "*.bs" \
|
||||
| xargs rm -f
|
||||
)
|
||||
find $PKG -name perllocal.pod \
|
||||
-o -name ".packlist" \
|
||||
-o -name "*.bs" \
|
||||
| xargs rm -f
|
||||
|
||||
# Kill some empty directories
|
||||
eval $(perl '-V:archlib')
|
||||
|
|
Loading…
Reference in a new issue