mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
graphics/tesseract: Fixed (Compress man pages)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
96e741e058
commit
aa6a7a00a8
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue