aboutsummaryrefslogtreecommitdiff
path: root/system/zarfy/zarfy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/zarfy/zarfy.SlackBuild')
-rw-r--r--system/zarfy/zarfy.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/zarfy/zarfy.SlackBuild b/system/zarfy/zarfy.SlackBuild
index d1b8880555f7a..07210e1e60aef 100644
--- a/system/zarfy/zarfy.SlackBuild
+++ b/system/zarfy/zarfy.SlackBuild
@@ -81,6 +81,7 @@ LDFLAGS="-lm -lX11" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--libexec=/usr/lib \
+ --mandir=/usr/man \
--enable-shared=yes \
--enable-static=no \
--enable-debug=no \
@@ -92,6 +93,9 @@ make install DESTDIR=$PKG
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
+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 $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild