diff options
Diffstat (limited to 'academic/bowtie/bowtie.SlackBuild')
-rw-r--r-- | academic/bowtie/bowtie.SlackBuild | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/academic/bowtie/bowtie.SlackBuild b/academic/bowtie/bowtie.SlackBuild index 0f5beae8519c..bf9e28a92b31 100644 --- a/academic/bowtie/bowtie.SlackBuild +++ b/academic/bowtie/bowtie.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for bowtie -# Copyright 2013-2016 Petar Petrov slackalaxy@gmail.com +# Copyright 2013-2021 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=bowtie -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,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" @@ -59,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION-src +unzip $CWD/${PRGNAM}-${VERSION}-src.zip +cd $PRGNAM-$VERSION-src chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -69,18 +69,13 @@ 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 {} \; -# Thanks to Debian for the set of patches! -patch -p1 -i $CWD/patches/disable_bits_flag.patch -patch -p1 -i $CWD/patches/no_hash_style_both_for_mips.patch -patch -p1 -i $CWD/patches/seqan-fix-setBegin-call.patch -patch -p1 -i $CWD/patches/use-dpkg-buildflags.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ 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 # Copy genomic data, scripts and more |