aboutsummaryrefslogtreecommitdiff
path: root/academic/PhyML
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2022-09-04 13:49:57 +0100
committerDave Woodfall <dave@slackbuilds.org>2022-09-04 13:49:57 +0100
commit08e0e1dd1b453f5b299e502cd876a70608db3339 (patch)
tree6f43f9f09a76011af71d825c4fc46ea02ca3a530 /academic/PhyML
parent895cf023f7f987b535e1df6df0ad09faf22672e1 (diff)
academic/PhyML: Updated for version 3.3.20220408.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'academic/PhyML')
-rw-r--r--academic/PhyML/PhyML.SlackBuild68
-rw-r--r--academic/PhyML/PhyML.info6
2 files changed, 39 insertions, 35 deletions
diff --git a/academic/PhyML/PhyML.SlackBuild b/academic/PhyML/PhyML.SlackBuild
index 41e235cda0bcd..351fde6f1fb5b 100644
--- a/academic/PhyML/PhyML.SlackBuild
+++ b/academic/PhyML/PhyML.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for PhyML
-# Copyright 2011-2021 Petar Petrov slackalaxy@gmail.com
+# Copyright 2011-2022 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=PhyML
-VERSION=${VERSION:-3.3.20200621}
+VERSION=${VERSION:-3.3.20220408}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -123,45 +123,49 @@ sed -i "/^CFLAGS/s/=/+=/" Makefile src/Makefile
CFLAGS="$SLKCFLAGS -mfma" CXXFLAGS="$SLKCFLAGS -mfma" make
make install DESTDIR=$PKG
-# This is Phyrex
-./autogen.sh
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-phyrex \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-# Use our CFLAGS
+# This is Phyrex but it breaks at the moment
+ ./autogen.sh
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --enable-phyrex \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+ # Use our CFLAGS
sed -i "/^CFLAGS/s/=/+=/" Makefile src/Makefile
CFLAGS="$SLKCFLAGS -mfma" CXXFLAGS="$SLKCFLAGS -mfma" make
make install DESTDIR=$PKG
-# This is PhyTime
-./autogen.sh
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-phytime \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-# Use our CFLAGS
-sed -i "/^CFLAGS/s/=/+=/" Makefile src/Makefile
-
-CFLAGS="$SLKCFLAGS -mfma" CXXFLAGS="$SLKCFLAGS -mfma" make
-make install DESTDIR=$PKG
+# # This is PhyTime
+# ./autogen.sh
+# ./configure \
+# --prefix=/usr \
+# --libdir=/usr/lib${LIBDIRSUFFIX} \
+# --sysconfdir=/etc \
+# --localstatedir=/var \
+# --mandir=/usr/man \
+# --enable-phytime \
+# --docdir=/usr/doc/$PRGNAM-$VERSION \
+# --build=$ARCH-slackware-linux
+#
+# # Use our CFLAGS
+# sed -i "/^CFLAGS/s/=/+=/" Makefile src/Makefile
+#
+# CFLAGS="$SLKCFLAGS -mfma" CXXFLAGS="$SLKCFLAGS -mfma" make
+# make install DESTDIR=$PKG
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
+# fix permissions for docs
+chmod 0644 doc/*.{pdf,tex,bib}
+chmod 0644 doc/fig/*.pdf
+
# Include some examples
mkdir -p $PKG/usr/share/$PRGNAM
cp -a examples $PKG/usr/share/$PRGNAM
diff --git a/academic/PhyML/PhyML.info b/academic/PhyML/PhyML.info
index ec04310e993c0..9b34384c9ff2e 100644
--- a/academic/PhyML/PhyML.info
+++ b/academic/PhyML/PhyML.info
@@ -1,8 +1,8 @@
PRGNAM="PhyML"
-VERSION="3.3.20200621"
+VERSION="3.3.20220408"
HOMEPAGE="https://github.com/stephaneguindon/phyml/"
-DOWNLOAD="https://github.com/stephaneguindon/phyml/archive/v3.3.20200621/phyml-3.3.20200621.tar.gz"
-MD5SUM="12622e111c388bcb16696660033143b5"
+DOWNLOAD="https://github.com/stephaneguindon/phyml/archive/v3.3.20220408/phyml-3.3.20220408.tar.gz"
+MD5SUM="b35e641af77d7f058cf1ddc73be5e0b7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openmpi"