network/heimdal: Compress man pages.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-06-04 02:10:11 +07:00
parent 5fa4cfa2f7
commit 7e06d25472

View file

@ -95,7 +95,6 @@ LDFLAGS="-lpthread" \
--build=$ARCH-slackware-linux
make
make -j1 check
make install-strip DESTDIR=$PKG
mkdir -p $PKG/etc/rc.d
@ -111,7 +110,7 @@ cat $CWD/config/kdc.conf > $PKG/var/heimdal/kdc.conf.new
cat $CWD/config/kadmind.acl > $PKG/var/heimdal/kadmind.acl.new
rm -rf $PKG/usr/man/cat?
find $PKG/usr/man -type f -exec gzip -9 {} \;
find $PKG/usr/man -type f -exec gzip -9 -f {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
rm -f $PKG/usr/info/dir
@ -119,9 +118,7 @@ gzip -9 $PKG/usr/info/*
( cd $PKG/usr/info ; ln -s heimdal.info.gz heimdal )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
ChangeLog* NEWS README TODO etc/services.append \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog* NEWS README TODO etc/services.append $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir $PKG/install