aboutsummaryrefslogtreecommitdiff
path: root/academic/PhyML/PhyML.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/PhyML/PhyML.SlackBuild')
-rw-r--r--academic/PhyML/PhyML.SlackBuild35
1 files changed, 12 insertions, 23 deletions
diff --git a/academic/PhyML/PhyML.SlackBuild b/academic/PhyML/PhyML.SlackBuild
index cab8490604d0..bddb063c007b 100644
--- a/academic/PhyML/PhyML.SlackBuild
+++ b/academic/PhyML/PhyML.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for PhyML
-# Copyright 2011-2019 Petar Petrov slackalaxy@gmail.com
+# Copyright 2011-2020 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,11 +25,12 @@
# Thanks to Niels Horn for some handy modifications and corrections.
PRGNAM=PhyML
-SRCNAM=$(echo $PRGNAM | tr A-Z a-z)
-VERSION=${VERSION:-3.3.20190321}
+VERSION=${VERSION:-3.3.20190909}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=$(echo $PRGNAM | tr A-Z a-z)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -86,12 +87,9 @@ find -L . \
--build=$ARCH-slackware-linux
# Use our CFLAGS
-sed -i "/^CFLAGS/s/=/+=/" src/Makefile
-sed -i "/^CFLAGS/s/=/+=/" Makefile
+sed -i "/^CFLAGS/s/=/+=/" Makefile src/Makefile
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
# This is PhyML MPI. If you do not want it, comment the lines below. Then you do
@@ -108,12 +106,9 @@ make install DESTDIR=$PKG
--build=$ARCH-slackware-linux
# Use our CFLAGS
-sed -i "/^CFLAGS/s/=/+=/" src/Makefile
-sed -i "/^CFLAGS/s/=/+=/" Makefile
+sed -i "/^CFLAGS/s/=/+=/" Makefile src/Makefile
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
# This is Phyrex
@@ -129,12 +124,9 @@ make install DESTDIR=$PKG
--build=$ARCH-slackware-linux
# Use our CFLAGS
-sed -i "/^CFLAGS/s/=/+=/" src/Makefile
-sed -i "/^CFLAGS/s/=/+=/" Makefile
+sed -i "/^CFLAGS/s/=/+=/" Makefile src/Makefile
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
# This is PhyTime
@@ -150,12 +142,9 @@ make install DESTDIR=$PKG
--build=$ARCH-slackware-linux
# Use our CFLAGS
-sed -i "/^CFLAGS/s/=/+=/" src/Makefile
-sed -i "/^CFLAGS/s/=/+=/" Makefile
+sed -i "/^CFLAGS/s/=/+=/" Makefile src/Makefile
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \