summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2019-08-03 07:10:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-03 07:10:43 +0700
commit40f47fa7025b10efd97adbdbe15b9d96f66ec7e7 (patch)
tree46273b6b346120d01a912cdfbc46a46ffc580221
parent236afd233a579ff696a2824aa6f8d19d7064bb22 (diff)
downloadslackbuilds-40f47fa7025b10efd97adbdbe15b9d96f66ec7e7.tar.gz
academic/t_coffee: Updated for version 13.00_git33cdeb8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/t_coffee/t_coffee.SlackBuild32
-rw-r--r--academic/t_coffee/t_coffee.info6
2 files changed, 19 insertions, 19 deletions
diff --git a/academic/t_coffee/t_coffee.SlackBuild b/academic/t_coffee/t_coffee.SlackBuild
index 7329c61e2f..d99c398ae4 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
diff --git a/academic/t_coffee/t_coffee.info b/academic/t_coffee/t_coffee.info
index 129a6c258d..70063ae306 100644
--- a/academic/t_coffee/t_coffee.info
+++ b/academic/t_coffee/t_coffee.info
@@ -1,8 +1,8 @@
PRGNAM="t_coffee"
-VERSION="11.00.8cbe486"
+VERSION="13.00_git33cdeb8"
HOMEPAGE="http://www.tcoffee.org/"
-DOWNLOAD="http://www.tcoffee.org/Packages/Stable/Version_11.00.8cbe486/T-COFFEE_distribution_Version_11.00.8cbe486.tar.gz"
-MD5SUM="bd91485c06eda4f2ffcb61542d3ce302"
+DOWNLOAD="https://github.com/cbcrg/tcoffee/archive/33cdeb8/tcoffee-33cdeb86ffb77fe142ccf7a3ee568340b7583f7f.tar.gz"
+MD5SUM="7818cfe47cbe6dc7c0ab669b72c5d8db"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""