summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2020-09-15 08:32:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-15 08:32:19 +0700
commit27a1838610ee5e315bdf11024f5626375b21d6fa (patch)
treef19759f1e9fd5008a0ef736efd320b5d128f7538
parentbfd0ea32f12dc91647b78880133225b25776191e (diff)
downloadslackbuilds-27a1838610ee5e315bdf11024f5626375b21d6fa.tar.gz
academic/genometools: Updated for version 1.6.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/genometools/genometools.SlackBuild11
-rw-r--r--academic/genometools/genometools.info6
2 files changed, 7 insertions, 10 deletions
diff --git a/academic/genometools/genometools.SlackBuild b/academic/genometools/genometools.SlackBuild
index f4af4db0f9..0814b7dc9e 100644
--- a/academic/genometools/genometools.SlackBuild
+++ b/academic/genometools/genometools.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for genometools
-# Copyright 2014-2018 Petar Petrov slackalaxy@gmail.com
+# Copyright 2014-2020 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=genometools
-VERSION=${VERSION:-1.5.10}
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,9 +72,10 @@ 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 {} \;
-# Fix library path
+# Fix library and man pages path
sed -i "s:lib/libgenometools:lib${LIBDIRSUFFIX}/libgenometools:g" Makefile
sed -i "s:\$(prefix)/lib:\$(prefix)/lib${LIBDIRSUFFIX}:g" Makefile
+sed -i "s:/share/man/:/man/:g" Makefile
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -90,10 +91,6 @@ cd gtpython
python setup.py install --root=$PKG
cd ..
-# We don't need this
-rm -rf $PKG/usr/bin/genometools-config
-rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/libgenometools.a
-
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
diff --git a/academic/genometools/genometools.info b/academic/genometools/genometools.info
index 5026cd2a29..7692e762e8 100644
--- a/academic/genometools/genometools.info
+++ b/academic/genometools/genometools.info
@@ -1,8 +1,8 @@
PRGNAM="genometools"
-VERSION="1.5.10"
+VERSION="1.6.1"
HOMEPAGE="http://genometools.org/"
-DOWNLOAD="http://genometools.org/pub/genometools-1.5.10.tar.gz"
-MD5SUM="2c654825746692b968e1c58873b6a3d2"
+DOWNLOAD="http://genometools.org/pub/genometools-1.6.1.tar.gz"
+MD5SUM="1dc80df17be32973266f5a3601fc64b8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""