summaryrefslogtreecommitdiffstats
path: root/academic/ViennaRNA/ViennaRNA.SlackBuild
diff options
context:
space:
mode:
author Rob van Nues <sborg63@disroot.org>2019-05-17 23:13:01 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-17 23:13:01 +0700
commit29cf363ff5fdc41f630e27fca0917dc8ae847cc1 (patch)
treeecc2ff49e1bf35748c236842abd07bda5ae1d818 /academic/ViennaRNA/ViennaRNA.SlackBuild
parent75706e0d0689b0442905c36c9009adb710887534 (diff)
downloadslackbuilds-29cf363ff5fdc41f630e27fca0917dc8ae847cc1.tar.gz
slackbuilds-29cf363ff5fdc41f630e27fca0917dc8ae847cc1.tar.xz
academic/ViennaRNA: Updated for version 2.4.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/ViennaRNA/ViennaRNA.SlackBuild')
-rw-r--r--academic/ViennaRNA/ViennaRNA.SlackBuild26
1 files changed, 16 insertions, 10 deletions
diff --git a/academic/ViennaRNA/ViennaRNA.SlackBuild b/academic/ViennaRNA/ViennaRNA.SlackBuild
index 2165d6da28..9de92bfa6e 100644
--- a/academic/ViennaRNA/ViennaRNA.SlackBuild
+++ b/academic/ViennaRNA/ViennaRNA.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ViennaRNA
-VERSION=${VERSION:-2.4.11}
+VERSION=${VERSION:-2.4.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,6 +68,11 @@ find . \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+
+patch -p 1 < $CWD/swig4.patch
+
+#needed to make patches compile
+autoreconf
# You can configure some ViennaRNA features that are (not) compiled by default.
# See the README.md for details. You can enable/disable a these features by
@@ -95,19 +100,20 @@ find . \
# - SVM Z-score filter in RNALfold
# - GNU Scientific Library for RNApvmin
-cluster="" ; [ "${CLUS:-no}" != "no" ] && cluster="--with-cluster"
-kinwalker="" ; [ "${KINW:-no}" != "no" ] && kinwalker="--with-kinwalker"
-forester="" ; [ "${FORE:-yes}" != "yes" ] && forester="--without-forester"
-kinfold="" ; [ "${KINF:-yes}" != "yes" ] && kinwalk="--without-kinfold"
-rnalocmin="" ; [ "${RLOC:-yes}" != "yes" ] && rnalocmin="--without-rnalocmin"
+cluster="" ; [ "${CLUSTER:-yes}" != "no" ] && cluster="--with-cluster"
+kinwalker="" ; [ "${KINWALKER:-yes}" != "no" ] && kinwalker="--with-kinwalker"
+# Default enabled features:
+forester="" ; [ "${FORESTER:-yes}" != "yes" ] && forester="--without-forester"
+kinfold="" ; [ "${KINFOLD:-yes}" != "yes" ] && kinwalk="--without-kinfold"
+rnalocmin="" ; [ "${RNALOCMIN:-yes}" != "yes" ] && rnalocmin="--without-rnalocmin"
perl="" ; [ "${PERL:-yes}" != "yes" ] && perl="--without-perl"
-python="" ; [ "${PYTH:-yes}" != "yes" ] && python="--without-python"
-python3="" ; [ "${PYT3:-yes}" != "yes" ] && python3="--without-python3"
+python="" ; [ "${PYTHON:-yes}" != "yes" ] && python="--without-python"
+python3="" ; [ "${PYTHON3:-yes}" != "yes" ] && python3="--without-python3"
swig="" ; [ "${SWIG:-yes}" != "yes" ] && swig="--without-swig"
simd="" ; [ "${SIMD:-yes}" != "yes" ] && simd="--disable-simd"
lto="" ; [ "${LTO:-yes}" != "yes" ] && lto="--disable-lto"
-openmp="" ; [ "${OMP:-yes}" != "yes" ] && openmp="--disable-openmp"
-pthreads="" ; [ "${PTHR:-yes}" != "yes" ] && pthreads="--disable-pthreads"
+openmp="" ; [ "${OPENMP:-yes}" != "yes" ] && openmp="--disable-openmp"
+pthreads="" ; [ "${PTHREADS:-yes}" != "yes" ] && pthreads="--disable-pthreads"
svm="" ; [ "${SVM:-yes}" != "yes" ] && svm="--without-svm"
gsl="" ; [ "${GSL:-yes}" != "yes" ] && gsl="--without-gsl"