summaryrefslogtreecommitdiff
path: root/libraries/cln
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 19:08:07 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:03 -0500
commit16a2ea6f51342e8c1da908160bb5508bd470e141 (patch)
tree5fd64f9b2ef6fc9315801ee907d9afa1131f39ac /libraries/cln
parent3a2d5c471fff5491856726fa4c318b2237a674a8 (diff)
downloadslackbuilds-16a2ea6f51342e8c1da908160bb5508bd470e141.tar.gz
libraries/cln: Fixed (Compress man pages)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/cln')
-rw-r--r--libraries/cln/cln.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/cln/cln.SlackBuild b/libraries/cln/cln.SlackBuild
index d387d616a6..c5bb68cc01 100644
--- a/libraries/cln/cln.SlackBuild
+++ b/libraries/cln/cln.SlackBuild
@@ -23,15 +23,13 @@
PRGNAM=cln
VERSION=1.3.2
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -103,6 +101,9 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION/examples
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