aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-03 06:36:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-03 06:36:58 +0700
commita1a497ebb836eb77d1adab2a010cfe87b1e6662a (patch)
tree66d29e82d8bc3e4048e7baa0a693fd76fd5fc0f8 /development
parenta29c07bca7d6176d01296c768bf39609e5c69eaa (diff)
development/dkms: Compress man pages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/dkms/dkms.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/development/dkms/dkms.SlackBuild b/development/dkms/dkms.SlackBuild
index c2a298c43fb5..5602c5386c07 100644
--- a/development/dkms/dkms.SlackBuild
+++ b/development/dkms/dkms.SlackBuild
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dkms
VERSION=${VERSION:-3.1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,6 +80,9 @@ CFLAGS="$SLKCFLAGS" make install DESTDIR=$PKG
mv $PKG/usr/share/man $PKG/usr/man
rm -Rf $PKG/etc/kernel $PKG/usr/share
+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
cp -a README.md COPYING $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild