diff options
author | B. Watson <yalhcru@gmail.com> | 2017-09-03 16:24:18 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-09-09 06:56:41 +0700 |
commit | 486dec0a08b845b3bbf86615677fa49d3d379fbf (patch) | |
tree | c157c0e2af29457128b67890f70de68462c8576d /libraries | |
parent | f2cdd2f9341b4ec5d4cbf398be07fe12faa53ed2 (diff) | |
download | slackbuilds-486dec0a08b845b3bbf86615677fa49d3d379fbf.tar.gz |
libraries/libtommath: Updated for version 1.0.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libtommath/libtommath.SlackBuild | 14 | ||||
-rw-r--r-- | libraries/libtommath/libtommath.info | 6 |
2 files changed, 15 insertions, 5 deletions
diff --git a/libraries/libtommath/libtommath.SlackBuild b/libraries/libtommath/libtommath.SlackBuild index bc1f1c83dd..20385ad3bb 100644 --- a/libraries/libtommath/libtommath.SlackBuild +++ b/libraries/libtommath/libtommath.SlackBuild @@ -6,8 +6,12 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 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} +VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -48,8 +52,12 @@ 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 {} \; +# hardcoded lib paths suck +sed -i "s,/lib\$,&$LIBDIRSUFFIX," $PRGNAM.pc.in + make -f makefile.shared LIBPATH=/usr/lib$LIBDIRSUFFIX make -f makefile.shared install \ + PREFIX=/usr/ \ LIBPATH=/usr/lib$LIBDIRSUFFIX \ INSTALL_GROUP=root \ DESTDIR=$PKG @@ -57,10 +65,12 @@ make -f makefile.shared install \ chmod 0644 $PKG/usr/include/* rm $PKG/usr/lib$LIBDIRSUFFIX/*.a strip $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*.* +chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*.* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION # permissions are wrong if we use cp -a here: -install -m0644 -oroot -groot *.pdf *.txt $PKG/usr/doc/$PRGNAM-$VERSION +install -m0644 -oroot -groot doc/*.pdf *.txt *.md LICENSE* \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libtommath/libtommath.info b/libraries/libtommath/libtommath.info index c9296f31c5..15bdd9189e 100644 --- a/libraries/libtommath/libtommath.info +++ b/libraries/libtommath/libtommath.info @@ -1,8 +1,8 @@ PRGNAM="libtommath" -VERSION="1.0" +VERSION="1.0.1" HOMEPAGE="http://libtom.net/" -DOWNLOAD="https://github.com/libtom/libtommath/releases/download/v1.0/ltm-1.0.tar.xz" -MD5SUM="a95dc984d8409a6f355efb0831009a66" +DOWNLOAD="https://github.com/libtom/libtommath/releases/download/v1.0.1/ltm-1.0.1.tar.xz" +MD5SUM="72f4dd9dcde8338e5e3507f7bbea7582" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |