diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2019-08-03 07:10:43 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-08-03 07:10:43 +0700 |
commit | 40f47fa7025b10efd97adbdbe15b9d96f66ec7e7 (patch) | |
tree | 46273b6b346120d01a912cdfbc46a46ffc580221 /academic/t_coffee/t_coffee.SlackBuild | |
parent | 236afd233a579ff696a2824aa6f8d19d7064bb22 (diff) |
academic/t_coffee: Updated for version 13.00_git33cdeb8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/t_coffee/t_coffee.SlackBuild')
-rw-r--r-- | academic/t_coffee/t_coffee.SlackBuild | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/academic/t_coffee/t_coffee.SlackBuild b/academic/t_coffee/t_coffee.SlackBuild index 7329c61e2ffd..d99c398ae452 100644 --- a/academic/t_coffee/t_coffee.SlackBuild +++ b/academic/t_coffee/t_coffee.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for t_coffee -# Copyright 2013-2016 Petar Petrov slackalaxy@gmail.com +# Copyright 2013-2019 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,15 +23,15 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=t_coffee -VERSION=${VERSION:-11.00.8cbe486} +TARNAM=tcoffee +VERSION=${VERSION:-13.00_git33cdeb8} +COMMIT=33cdeb86ffb77fe142ccf7a3ee568340b7583f7f BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM=T-COFFEE_distribution_Version - if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -61,9 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${SRCNAM}_${VERSION} -tar xvf $CWD/${SRCNAM}_${VERSION}.tar.gz -cd ${SRCNAM}_${VERSION} +rm -rf ${TARNAM}-${COMMIT} +tar xvf $CWD/${TARNAM}-${COMMIT}.tar.gz +cd ${TARNAM}-${COMMIT} chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -71,15 +71,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -cd t_coffee_source +cd compile + +# Use our CFLAGS +sed -i "/^CFLAGS/s/=/+=/" makefile CFLAGS="$SLKCFLAGS" \ -CC="gcc" \ -FCC="gfortran" \ -make -i all +make all install -D -m755 $PRGNAM $PKG/usr/bin/$PRGNAM -install -D -m755 TMalign $PKG/usr/bin/TMalign cd - @@ -88,7 +88,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - install license.txt \ + HOW_BUILD_WORKS.md README.md docs/*.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/References > $PKG/usr/doc/$PRGNAM-$VERSION/References |