summaryrefslogtreecommitdiff
path: root/academic/bwa/bwa.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2014-04-09 16:58:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-09 16:58:43 +0700
commit820b8bf747c7847e9d541152121b4f1b19aa2da6 (patch)
treefafc49bcc0fa76d270e6a3c955e1f4e6818b90af /academic/bwa/bwa.SlackBuild
parentd5c3e85ba53b251eb011a3101f49203d9436dbf5 (diff)
downloadslackbuilds-820b8bf747c7847e9d541152121b4f1b19aa2da6.tar.gz
academic/bwa: Updated for version 0.7.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 d38dfbb9fa..aa7528b5da 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