libraries/mimalloc: Updated for version 2.1.2

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Zhu Qun-Ying 2023-04-24 18:16:23 -07:00 committed by Willy Sudiarto Raharjo
parent d8c0cd948f
commit 0b943006e3
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 4 deletions

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mimalloc
VERSION=${VERSION:-2.0.9}
VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -91,6 +91,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/html/
cp readme.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# the header file mimalloc-override.h and mimalloc-new-delete.h assume the
# header path is fully added as /usr/include/mimalloc-2.1, otherwise using
# those two header files would result in compile error.
sed -i 's/\/include/\/include\/mimalloc-2.1/' $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/mimalloc.pc
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="mimalloc"
VERSION="2.0.9"
VERSION="2.1.2"
HOMEPAGE="https://github.com/microsoft/mimalloc"
DOWNLOAD="https://github.com/microsoft/mimalloc/archive/v2.0.9/mimalloc-2.0.9.tar.gz"
MD5SUM="d35a67fe616af61b0bc22c80c8b94f88"
DOWNLOAD="https://github.com/microsoft/mimalloc/archive/v2.1.2/mimalloc-2.1.2.tar.gz"
MD5SUM="5179c8f5cf1237d2300e2d8559a7bc55"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""