summaryrefslogtreecommitdiff
path: root/academic/tophat/tophat.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2016-06-05 15:51:46 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-05 22:28:03 +0700
commitb6456152b10e4c01ee304557130dc8b19747186a (patch)
tree5cbc1a371dc2a1abb0e70cc791c9663607c27c46 /academic/tophat/tophat.SlackBuild
parent8f0d485cccc8057929671e36af7a0258be50ea69 (diff)
downloadslackbuilds-b6456152b10e4c01ee304557130dc8b19747186a.tar.gz
academic/tophat: Updated for version 2.1.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/tophat/tophat.SlackBuild')
-rw-r--r--academic/tophat/tophat.SlackBuild26
1 files changed, 5 insertions, 21 deletions
diff --git a/academic/tophat/tophat.SlackBuild b/academic/tophat/tophat.SlackBuild
index d8ae387909..4254c78d6c 100644
--- a/academic/tophat/tophat.SlackBuild
+++ b/academic/tophat/tophat.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tophat
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-2.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,41 +62,25 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-tar xvf $CWD/seqan-v1.4.2.tar.gz || tar xvf $CWD/seqan-seqan-v1.4.2.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -e 's|-gdwarf-2||' \
- -e '/define.*esyscmd/d' \
- -e 's/svnversion/Unversioned directory/' \
- -i configure.ac
-
-sed -e 's|make $(SAMPROG)|make -e $(SAMPROG)|' \
- -i src/Makefile.am
-
-# fixes seqan issues, Thanks to ARCH
-rm -rf src/SeqAn-1.3
-patch -p1 < $CWD/fix_build_w_seqan1.4.patch
-sed -e "s|-I./SeqAn-1.3|-I$TMP/$PRGNAM-$VERSION/seqan-seqan-v1.4.2/core/include|" configure.ac
-
-autoreconf -fi
-CFLAGS="$SLKCFLAGS -I$TMP/$PRGNAM-$VERSION/seqan-seqan-v1.4.2/core/include" \
+CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
+ --with-boost-libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-sed -i 's|-L/usr/lib||' Makefile src/Makefile
-
-make -j1
+make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \