summaryrefslogtreecommitdiff
path: root/academic/spidey/spidey.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2011-09-04 08:29:49 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-09-04 08:29:49 -0300
commit776abd8e685f6f33553a143fa83645178842eb75 (patch)
tree0855132472cd1d548dd415449e8058bfd48b5fb3 /academic/spidey/spidey.SlackBuild
parentbb2dfa6f86fe328a54249df007ab1eb2f2d7852f (diff)
downloadslackbuilds-776abd8e685f6f33553a143fa83645178842eb75.tar.gz
academic/spidey: Added (mRNA-to-genomic alignment)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic/spidey/spidey.SlackBuild')
-rw-r--r--academic/spidey/spidey.SlackBuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/academic/spidey/spidey.SlackBuild b/academic/spidey/spidey.SlackBuild
new file mode 100644
index 0000000000..afe96d9c20
--- /dev/null
+++ b/academic/spidey/spidey.SlackBuild
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+# Slackware build script for spidey
+# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
+# hereby submitted to the public domain
+
+# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
+# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
+# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
+
+PRGNAM=spidey
+VERSION=${VERSION:-20060601}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+ARCH=i386
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+gunzip -c $CWD/$PRGNAM.linux.gz > spidey
+
+install -D -m755 spidey $PKG/usr/bin/spidey
+
+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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}