summaryrefslogtreecommitdiffstats
path: root/academic/t_coffee/t_coffee.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/t_coffee/t_coffee.SlackBuild')
-rw-r--r--academic/t_coffee/t_coffee.SlackBuild21
1 files changed, 8 insertions, 13 deletions
diff --git a/academic/t_coffee/t_coffee.SlackBuild b/academic/t_coffee/t_coffee.SlackBuild
index d99c398ae4..e54497f7a9 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-2019 Petar Petrov slackalaxy@gmail.com
+# Copyright 2013-2020 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=t_coffee
-TARNAM=tcoffee
-VERSION=${VERSION:-13.00_git33cdeb8}
-COMMIT=33cdeb86ffb77fe142ccf7a3ee568340b7583f7f
+VERSION=${VERSION:-13.41.0_git28bdc39}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+TARNAM=tcoffee
+COMMIT=28bdc39911d10d8597db8513f9515fb2ed7a9158
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -71,17 +72,11 @@ 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 compile
-
# Use our CFLAGS
-sed -i "/^CFLAGS/s/=/+=/" makefile
-
-CFLAGS="$SLKCFLAGS" \
-make all
-
-install -D -m755 $PRGNAM $PKG/usr/bin/$PRGNAM
+sed -i "/^CFLAGS/s/=/+=/" t_coffee/src/makefile
-cd -
+CFLAGS="$SLKCFLAGS" make t_coffee -C t_coffee/src
+install -D -m755 t_coffee/src/$PRGNAM $PKG/usr/bin/$PRGNAM
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