summaryrefslogtreecommitdiff
path: root/libraries/htslib/htslib.SlackBuild
diff options
context:
space:
mode:
authorbrobr <sborg63@disroot.org>2022-03-04 15:04:18 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-05 08:17:05 +0700
commit69550ce0fa86fc709af6db80f07b2f0455eb9afa (patch)
tree7c6a58d450d97bbc90d1a649aad076e51f998594 /libraries/htslib/htslib.SlackBuild
parent85a648638c170db5bef9fddd7adae6d3226d8df0 (diff)
downloadslackbuilds-69550ce0fa86fc709af6db80f07b2f0455eb9afa.tar.gz
libraries/htslib: Update to version 1.15
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/htslib/htslib.SlackBuild')
-rw-r--r--libraries/htslib/htslib.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/htslib/htslib.SlackBuild b/libraries/htslib/htslib.SlackBuild
index 820f176994..779efce282 100644
--- a/libraries/htslib/htslib.SlackBuild
+++ b/libraries/htslib/htslib.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for htslib
-# Copyright 2018-2021 Rob van Nues # All rights reserved.
+# Copyright 2018-2022 Rob van Nues # All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -24,8 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=htslib
-VERSION=${VERSION:-1.14}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.15}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -101,6 +101,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
+
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
@@ -113,8 +115,6 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc