summaryrefslogtreecommitdiff
path: root/source/l/giflib/giflib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/giflib/giflib.SlackBuild')
-rwxr-xr-xsource/l/giflib/giflib.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/source/l/giflib/giflib.SlackBuild b/source/l/giflib/giflib.SlackBuild
index e2390a25..80196ed3 100755
--- a/source/l/giflib/giflib.SlackBuild
+++ b/source/l/giflib/giflib.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2015 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -80,10 +80,16 @@ make install DESTDIR=$PKG || exit 1
# Make some compatibility symlinks
( cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -s libgif.so.4 libungif.so.4
+ ln -s libgif.so.7 libungif.so.7
ln -s libgif.so libungif.so
)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/giflib-$VERSION
cp -a \
AUTHORS BUGS COPYING DEVELOPERS INSTALL NEWS ONEWS README TODO \
@@ -99,9 +105,6 @@ if [ -r ChangeLog ]; then
touch -r ChangeLog $DOCSDIR/ChangeLog
fi
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc