From 7c900167f368c71138be24727d4dd448b1478657 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Fri, 12 Aug 2022 19:36:27 +0100 Subject: [PATCH] academic/bowtie: Updated install all binaries. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- academic/bowtie/bowtie.SlackBuild | 14 +++++++------- 1 file 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