academic/genometools: Updated for version 1.6.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Petar Petrov 2020-09-15 08:32:19 +07:00 committed by Willy Sudiarto Raharjo
parent bfd0ea32f1
commit 27a1838610
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 7 additions and 10 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for genometools # Slackware build script for genometools
# Copyright 2014-2018 Petar Petrov slackalaxy@gmail.com # Copyright 2014-2020 Petar Petrov slackalaxy@gmail.com
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=genometools PRGNAM=genometools
VERSION=${VERSION:-1.5.10} VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -72,9 +72,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -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 {} \;
# Fix library path # Fix library and man pages path
sed -i "s:lib/libgenometools:lib${LIBDIRSUFFIX}/libgenometools:g" Makefile sed -i "s:lib/libgenometools:lib${LIBDIRSUFFIX}/libgenometools:g" Makefile
sed -i "s:\$(prefix)/lib:\$(prefix)/lib${LIBDIRSUFFIX}:g" Makefile sed -i "s:\$(prefix)/lib:\$(prefix)/lib${LIBDIRSUFFIX}:g" Makefile
sed -i "s:/share/man/:/man/:g" Makefile
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
@ -90,10 +91,6 @@ cd gtpython
python setup.py install --root=$PKG python setup.py install --root=$PKG
cd .. 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 \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -1,8 +1,8 @@
PRGNAM="genometools" PRGNAM="genometools"
VERSION="1.5.10" VERSION="1.6.1"
HOMEPAGE="http://genometools.org/" HOMEPAGE="http://genometools.org/"
DOWNLOAD="http://genometools.org/pub/genometools-1.5.10.tar.gz" DOWNLOAD="http://genometools.org/pub/genometools-1.6.1.tar.gz"
MD5SUM="2c654825746692b968e1c58873b6a3d2" MD5SUM="1dc80df17be32973266f5a3601fc64b8"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""