diff options
author | B. Watson <yalhcru@gmail.com> | 2020-02-27 14:10:44 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-02-29 07:45:14 +0700 |
commit | 543df515b796601d344ab49f3aa7c9091729a32b (patch) | |
tree | 36347905ac22b863f6889d1313597d2462446a58 /libraries | |
parent | 55d9c749c603b5fce85bf3dc147112590be61ff3 (diff) | |
download | slackbuilds-543df515b796601d344ab49f3aa7c9091729a32b.tar.gz |
libraries/libtommath: Updated for version 1.2.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libtommath/libtommath.SlackBuild | 11 | ||||
-rw-r--r-- | libraries/libtommath/libtommath.info | 6 |
2 files changed, 8 insertions, 9 deletions
diff --git a/libraries/libtommath/libtommath.SlackBuild b/libraries/libtommath/libtommath.SlackBuild index 20385ad3bb..7cc46c2193 100644 --- a/libraries/libtommath/libtommath.SlackBuild +++ b/libraries/libtommath/libtommath.SlackBuild @@ -6,12 +6,13 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20191201 bkw: Updated for v1.2.0. # 20170903 bkw: Updated for v1.0.1. Changes are incompatible with # libtommath-1.0, use the previous version of this script if you need # 1.0 for some odd reason. PRGNAM=libtommath -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,11 +47,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.xz 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 \) -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 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # hardcoded lib paths suck sed -i "s,/lib\$,&$LIBDIRSUFFIX," $PRGNAM.pc.in @@ -64,6 +62,7 @@ make -f makefile.shared install \ chmod 0644 $PKG/usr/include/* rm $PKG/usr/lib$LIBDIRSUFFIX/*.a +rm $PKG/usr/lib$LIBDIRSUFFIX/*.la strip $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*.* chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*.* diff --git a/libraries/libtommath/libtommath.info b/libraries/libtommath/libtommath.info index 15bdd9189e..98fb9f3937 100644 --- a/libraries/libtommath/libtommath.info +++ b/libraries/libtommath/libtommath.info @@ -1,8 +1,8 @@ PRGNAM="libtommath" -VERSION="1.0.1" +VERSION="1.2.0" HOMEPAGE="http://libtom.net/" -DOWNLOAD="https://github.com/libtom/libtommath/releases/download/v1.0.1/ltm-1.0.1.tar.xz" -MD5SUM="72f4dd9dcde8338e5e3507f7bbea7582" +DOWNLOAD="https://github.com/libtom/libtommath/releases/download/v1.2.0/ltm-1.2.0.tar.xz" +MD5SUM="159523e41d528ce72a0ce4ac3eabe274" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |