mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
academic/PhyML: Updated for version 3.3.20220408.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
This commit is contained in:
parent
895cf023f7
commit
08e0e1dd1b
2 changed files with 38 additions and 34 deletions
|
@ -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
|
||||
# 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
|
||||
# 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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue