summaryrefslogtreecommitdiff
path: root/libraries/allegro
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/allegro')
-rw-r--r--libraries/allegro/allegro.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild
index e3d8b983f6..622ae36708 100644
--- a/libraries/allegro/allegro.SlackBuild
+++ b/libraries/allegro/allegro.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=allegro
VERSION=${VERSION:-5.0.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -86,6 +86,12 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+## install man pages, thanks to Dimitris Zlatanidis
+mkdir -p $PKG/usr/man/man3
+install -m 0644 docs/man/* $PKG/usr/man/man3
+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 $DOCS \
$PKG/usr/doc/$PRGNAM-$VERSION