aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmseed
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmseed')
-rw-r--r--libraries/libmseed/libmseed.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/libmseed/libmseed.SlackBuild b/libraries/libmseed/libmseed.SlackBuild
index 7dce88395c6d8..68ee1b646fcc6 100644
--- a/libraries/libmseed/libmseed.SlackBuild
+++ b/libraries/libmseed/libmseed.SlackBuild
@@ -70,12 +70,16 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make shared
-make install PREFIX=$PKG/usr
+make install \
+ PREFIX=$PKG/usr \
+ LIBDIR=$PKG/usr/lib${LIBDIRSUFFIX} \
+ MANDIR=$PKG/usr/man
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
-mv $PKG/usr/share/man/ $PKG/usr/
+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 ChangeLog INSTALL.md README.md README.byteorder $PKG/usr/doc/$PRGNAM-$VERSION