mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
academic/t_coffee: Updated for version 13.00_git33cdeb8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
236afd233a
commit
40f47fa702
2 changed files with 19 additions and 19 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue