summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Petar Petrov <slackalaxy@gmail.com>2022-08-12 19:36:27 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-13 10:40:38 +0700
commit7c900167f368c71138be24727d4dd448b1478657 (patch)
tree4de3fdb7addf6bc0a2b1863668b8da5ac67cc835
parentad694a3d5c95f9835d59ed02cd2e042ccee08720 (diff)
downloadslackbuilds-7c900167f368c71138be24727d4dd448b1478657.tar.gz
slackbuilds-7c900167f368c71138be24727d4dd448b1478657.tar.xz
academic/bowtie: Updated install all binaries.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/bowtie/bowtie.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/academic/bowtie/bowtie.SlackBuild b/academic/bowtie/bowtie.SlackBuild
index d5b59d2871..5caa95a520 100644
--- a/academic/bowtie/bowtie.SlackBuild
+++ b/academic/bowtie/bowtie.SlackBuild
@@ -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