aboutsummaryrefslogtreecommitdiff
path: root/academic/PhyML/PhyML.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2020-01-05 04:35:29 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:48:00 +0700
commit119599e8fc653eacadfbc2023a2ed7b055df5512 (patch)
tree82d14464cdc6f34e753703793aa33b141d1e1ea2 /academic/PhyML/PhyML.SlackBuild
parentb15b607c96eee32c2f5026fcc21abbb72a1ca8bf (diff)
academic/PhyML: Updated for version 3.3.20190909.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 cab8490604d04..bddb063c007bf 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 \