aboutsummaryrefslogtreecommitdiff
path: root/graphics/tesseract/tesseract.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 18:55:27 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:02 -0500
commitaa6a7a00a8634267a9e6be07b5253f38fdf4b973 (patch)
tree39bc049a5f0e2f2e47a9d01e0f2bdaba8e2a282f /graphics/tesseract/tesseract.SlackBuild
parent96e741e058e48cf8ac2df0bdc8846c524b0ecbc1 (diff)
graphics/tesseract: Fixed (Compress man pages)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/tesseract/tesseract.SlackBuild')
-rw-r--r--graphics/tesseract/tesseract.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild
index ac253fabd10d3..a66096916ae48 100644
--- a/graphics/tesseract/tesseract.SlackBuild
+++ b/graphics/tesseract/tesseract.SlackBuild
@@ -31,7 +31,7 @@
PRGNAM=tesseract
VERSION=${VERSION:-3.01}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# language file name
@@ -107,6 +107,9 @@ make install DESTDIR=$PKG
find $PKG | xargs 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
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README ReleaseNotes \
$PKG/usr/doc/$PRGNAM-$VERSION