aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/bowtie/bowtie.SlackBuild23
-rw-r--r--academic/bowtie/bowtie.info8
2 files changed, 13 insertions, 18 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
diff --git a/academic/bowtie/bowtie.info b/academic/bowtie/bowtie.info
index 49d8c838cb67..d3da6c50935e 100644
--- a/academic/bowtie/bowtie.info
+++ b/academic/bowtie/bowtie.info
@@ -1,8 +1,8 @@
PRGNAM="bowtie"
-VERSION="1.0.0"
-HOMEPAGE="http://bowtie-bio.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/sboppetrov/files/bowtie/bowtie_1.0.0.orig.tar.gz"
-MD5SUM="75d402c856b64958ec4bc0f67d011eb9"
+VERSION="1.3.0"
+HOMEPAGE="http://bowtie-bio.sourceforge.net/index.shtml"
+DOWNLOAD="https://sourceforge.net/projects/bowtie-bio/files/bowtie/1.3.0/bowtie-1.3.0-src.zip"
+MD5SUM="2055d1ab066a8f3f015bdffa26509335"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""