diff options
Diffstat (limited to 'source/l/giflib')
-rwxr-xr-x | source/l/giflib/giflib.SlackBuild | 13 | ||||
-rw-r--r-- | source/l/giflib/slack-desc | 2 |
2 files changed, 9 insertions, 6 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 diff --git a/source/l/giflib/slack-desc b/source/l/giflib/slack-desc index 322b6e41..04fb287e 100644 --- a/source/l/giflib/slack-desc +++ b/source/l/giflib/slack-desc @@ -5,7 +5,7 @@ # exactly 11 lines for the formatting to be correct. It's also customary to # leave one space after the ':'. - |-----handy-ruler------------------------------------------------------| + |-----handy-ruler------------------------------------------------------| giflib: giflib (GIF image format library) giflib: giflib: A library to load and save (uncompressed only) images using GIF, |