summaryrefslogtreecommitdiff
path: root/libraries/libmseed
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2017-03-06 21:24:03 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-06 21:24:03 +0000
commita3d143f69a80d33e14e92f8e4e3e9c239f392395 (patch)
tree9e1c735683fa71312ea9c87cc538241aecf84a2c /libraries/libmseed
parent40c6a766cbdfe9a46df19c627576bf19d690d17c (diff)
downloadslackbuilds-a3d143f69a80d33e14e92f8e4e3e9c239f392395.tar.gz
libraries/libmseed: Fix library location, compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 7dce88395c..68ee1b646f 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