aboutsummaryrefslogtreecommitdiff
path: root/academic/ViennaRNA/ViennaRNA.SlackBuild
diff options
context:
space:
mode:
authorbrobr <sborg63@disroot.org>2023-09-18 10:14:47 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 08:31:13 +0700
commita0ff8419525c6d6d6c8dc2a3fea8315ba7e5430f (patch)
treebceff549c4942d89404f96fea9118156778d692b /academic/ViennaRNA/ViennaRNA.SlackBuild
parent1ef6d04a616e7390a7afcd229c168ca82500cb4a (diff)
academic/ViennaRNA: Upgrade to version 2.6.3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/ViennaRNA/ViennaRNA.SlackBuild')
-rw-r--r--academic/ViennaRNA/ViennaRNA.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/academic/ViennaRNA/ViennaRNA.SlackBuild b/academic/ViennaRNA/ViennaRNA.SlackBuild
index edd9fe0e157a3..b7d0dfc94f102 100644
--- a/academic/ViennaRNA/ViennaRNA.SlackBuild
+++ b/academic/ViennaRNA/ViennaRNA.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ViennaRNA
-# Copyright 2018-2022 Rob van Nues
+# Copyright 2018-2023 Rob van Nues
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ViennaRNA
-VERSION=${VERSION:-2.5.1}
+VERSION=${VERSION:-2.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -101,7 +101,10 @@ find -L . \
# for Z-score filtering via statically linked libsvm:
# - SVM Z-score filter in RNALfold
# - GNU Scientific Library for RNApvmin
-
+# RNAxplorer blocks configuration despite intalling dependencies lapacke and lapack, so ignore it
+# https://github.com/ViennaRNA/ViennaRNA/issues/206
+rnaxplorer="" ; [ "${RNAXPLORER:-no}" != "yes" ] && rnaxplorer="--without-rnaxplorer"
+# everything else is enabled
cluster="" ; [ "${CLUSTER:-yes}" != "no" ] && cluster="--with-cluster"
kinwalker="" ; [ "${KINWALKER:-yes}" != "no" ] && kinwalker="--with-kinwalker"
# Default enabled features:
@@ -130,6 +133,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux \
--with-python2=no \
--with-doc=no \
+ $rnaxplorer \
$cluster \
$kinwalker \
$forester \
@@ -169,7 +173,7 @@ rm -r $PKG/usr/share/ViennaRNA/bin
# re-organise info files the Slackware/SBo way
mkdir $PKG/usr/info/
-rm -rf $PKG/usr/share/info/dir
+rm $PKG/usr/share/info/dir
#gzip and move info file
gzip -9 $PKG/usr/share/info/*.info
mv $PKG/usr/share/info/*.info* $PKG/usr/info/