diff options
Diffstat (limited to 'academic/sword/sword.SlackBuild')
-rw-r--r-- | academic/sword/sword.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/academic/sword/sword.SlackBuild b/academic/sword/sword.SlackBuild index c556fc5224..558cefa859 100644 --- a/academic/sword/sword.SlackBuild +++ b/academic/sword/sword.SlackBuild @@ -5,7 +5,7 @@ # Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # -# changes updating to v1.7.5a1 Copyright 2015-20166 Tim Dickson, Scotland +# changes updating to v1.7.5a1 and v1.8.1 Copyright 2015-2018 Tim Dickson, Scotland # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sword -VERSION=${VERSION:-1.7.5a1} +VERSION=${VERSION:-1.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,11 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -#rm -rf $PRGNAM-$VERSION #line changed because source directory doesn't follow its own version number -rm -rf "${PRGNAM}-1.7.5" +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -#cd $PRGNAM-$VERSION 'the source extracted folder is different from it's version -cd "${PRGNAM}-1.7.5" +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -74,7 +72,9 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; #now patch the automake stuff so it doesn't error on slackware's newer version -#thanks to aur.archlinux.org for the information +#thanks to aur.archlinux.org for the information... +#since update to 1.8.1 first patch has to be commented out. we will get a bunch of +#warnings, but at least the library compiles #sed -i 's/AM_INIT_AUTOMAKE$/AM_INIT_AUTOMAKE\(\[subdir\-objects\]\)/g' configure.ac sed -i 's/ftemplate-depth-25/ftemplate-depth\=125/g' configure.ac ./autogen.sh |