summaryrefslogtreecommitdiff
path: root/libraries/libmseed/libmseed.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmseed/libmseed.SlackBuild')
-rw-r--r--libraries/libmseed/libmseed.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/libmseed/libmseed.SlackBuild b/libraries/libmseed/libmseed.SlackBuild
index c9dfaef1a3..84fa697fd9 100644
--- a/libraries/libmseed/libmseed.SlackBuild
+++ b/libraries/libmseed/libmseed.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmseed
-VERSION=${VERSION:-2.19.5}
+VERSION=${VERSION:-2.19.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,11 +69,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make shared
+make shared \
+ CFLAGS="$SLKCFLAGS"
make install \
PREFIX=$PKG/usr \
LIBDIR=$PKG/usr/lib${LIBDIRSUFFIX} \
- MANDIR=$PKG/usr/man
+ MANDIR=$PKG/usr/man \
+ DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
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