Browse Source
ham/direwolf: Compress manpages.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
pull/186/head
Andrew Clemons
4 years ago
No known key found for this signature in database
GPG Key ID: CD26380FFACBDA2B
1 changed files with
4 additions and
1 deletions
-
ham/direwolf/direwolf.SlackBuild
|
|
|
@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=direwolf |
|
|
|
VERSION=${VERSION:-1.5} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
BUILD=${BUILD:-2} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
|
|
|
|
@ -96,6 +96,9 @@ cp -a $PKG/usr/share/direwolf/pixmaps/dw-icon.png $PKG/usr/share/pixmaps/ |
|
|
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |
|
|
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |
|
|
|
|
|
|
|
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/$PRGNAM-$VERSION |
|
|
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |
|
|
|
find $PKG/usr/doc -name "Makefile" -exec rm {} \; |
|
|
|
|