diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-14 10:01:34 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-14 10:01:34 +0700 |
commit | 77dabf15689ed3b6981df5664ee4c91f6e047e62 (patch) | |
tree | c6e0dbd7394a18f02fa0fdbc12f5fd0875bacf12 /development | |
parent | da84bf11bbf27be15db047c27a07d139e64a161a (diff) | |
download | slackbuilds-77dabf15689ed3b6981df5664ee4c91f6e047e62.tar.gz slackbuilds-77dabf15689ed3b6981df5664ee4c91f6e047e62.tar.xz |
development/gnuradio: Compress man pages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/gnuradio/gnuradio.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/development/gnuradio/gnuradio.SlackBuild b/development/gnuradio/gnuradio.SlackBuild index abe11c3e11..187e206eec 100644 --- a/development/gnuradio/gnuradio.SlackBuild +++ b/development/gnuradio/gnuradio.SlackBuild @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -109,6 +106,9 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +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/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh |