diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2019-10-26 18:27:34 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-10-26 18:51:57 +0700 |
commit | 4704955d5bcd67589ad92d3959a4b31a4d4ae2e6 (patch) | |
tree | 89e43e024d2ee2b0c61e2c8b7f5d7d568adfa153 /academic/gri/gri.SlackBuild | |
parent | c0088bd3bec9616c11ba1cea6d355de07bfcf24d (diff) |
academic/gri: Updated for version 2.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/gri/gri.SlackBuild')
-rw-r--r-- | academic/gri/gri.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/academic/gri/gri.SlackBuild b/academic/gri/gri.SlackBuild index 7ebaf19929628..965946ecd22e2 100644 --- a/academic/gri/gri.SlackBuild +++ b/academic/gri/gri.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gri -# Copyright 2018 Rob van Nues +# Copyright 2018-2019 Rob van Nues # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -69,6 +69,11 @@ 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 {} \; +#with thanks to Gavin Smith +patch -p1 < $CWD/gri-texinfo-6.7patch.txt +#with thanks to Matteo Bernardini +#patch -p1 < $CWD/texinfo-utf8.patch + aclocal autoconf automake --add-missing @@ -81,8 +86,10 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -make -make install DESTDIR=$PKG +#with thanks to Matteo Bernardini +#see: https://www.linuxquestions.org/questions/slackware-14/sbo-scripts-not-building-on-current-read-1st-post-pls-4175561999/page142.html#post6049662 +make -j1 +make -j1 install DESTDIR=$PKG 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 |