academic/bowtie: Updated install all binaries.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Petar Petrov 2022-08-12 19:36:27 +01:00 committed by Willy Sudiarto Raharjo
parent ad694a3d5c
commit 7c900167f3
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -2,7 +2,7 @@
# Slackware build script for bowtie
# Copyright 2013-2021 Petar Petrov slackalaxy@gmail.com
# Copyright 2013-2022 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=bowtie
VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -73,14 +73,14 @@ 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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
sed -i "s|-O3|$SLKCFLAGS -O3|" Makefile
make
install -D -m755 $PRGNAM $PKG/usr/bin/$PRGNAM
install -D -m755 $PRGNAM-build $PKG/usr/bin/$PRGNAM-build
install -D -m755 $PRGNAM-build-s $PKG/usr/bin/$PRGNAM-build-s
install -D -m755 $PRGNAM-inspect $PKG/usr/bin/$PRGNAM-inspect
executables=$( ls bowtie-* )
for b in ${executables[@]}; do
install -D -m755 $b $PKG/usr/bin/$b
done
# Copy genomic data, scripts and more
mkdir -p $PKG/usr/share/$PRGNAM