mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
libraries/libtommath: Updated for version 1.0.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
f2cdd2f934
commit
486dec0a08
2 changed files with 15 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue