aboutsummaryrefslogtreecommitdiff
path: root/academic/bwa/bwa.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/bwa/bwa.SlackBuild')
-rw-r--r--academic/bwa/bwa.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/academic/bwa/bwa.SlackBuild b/academic/bwa/bwa.SlackBuild
index d38dfbb9fa63..aa7528b5da64 100644
--- a/academic/bwa/bwa.SlackBuild
+++ b/academic/bwa/bwa.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bwa
-VERSION=${VERSION:-0.7.7}
+VERSION=${VERSION:-0.7.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,6 +72,7 @@ find -L . \
# Use our CFLAGS/CXXFLAGS
sed -i "/^C.*.*FLAGS/s/=/+=/" Makefile
+# Thanks to Willy for the -msse2 fix!
CFLAGS="$SLKCFLAGS -msse2" \
CXXFLAGS="$SLKCFLAGS" \
make
@@ -80,9 +81,7 @@ install -D -m755 $PRGNAM $PKG/usr/bin/$PRGNAM
install -D -m644 $PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/share/$PRGNAM
-cp -a \
- qualfa2fq.pl xa2multi.pl \
- $PKG/usr/share/$PRGNAM
+cp -a qualfa2fq.pl xa2multi.pl $PKG/usr/share/$PRGNAM
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -91,9 +90,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ChangeLog COPYING README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/References > $PKG/usr/doc/$PRGNAM-$VERSION/References