system/musl: Updated for version 1.2.3.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2022-04-16 02:04:36 +01:00 committed by Willy Sudiarto Raharjo
parent 029b8352e4
commit aa4111977a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 12 additions and 6 deletions

View file

@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=musl
VERSION=${VERSION:-1.2.2}
VERSION=${VERSION:-1.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -93,10 +93,16 @@ make DESTDIR=$PKG install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/bin ; ln -sf /usr/lib$LIBDIRSUFFIX/ld-musl-$ARCH.so.1 musl-ldd )
# change symbolic links to relative
( cd $PKG/usr/bin ; rm -rf musl-ldd )
( cd $PKG/usr/bin ; ln -sf ../lib$LIBDIRSUFFIX/ld-musl-$ARCH.so.1 musl-ldd )
( cd $PKG/usr/lib$LIBDIRSUFFIX ; rm -rf ld-musl-$ARCH.so.1 )
( cd $PKG/usr/lib$LIBDIRSUFFIX ; ln -sf musl/libc.so ld-musl-$ARCH.so.1 )
( cd $PKG/usr/lib$LIBDIRSUFFIX/musl ; rm -rf ld-musl-$ARCH.so.1 )
( cd $PKG/usr/lib$LIBDIRSUFFIX/musl ; ln -sf libc.so ld-musl-$ARCH.so.1 )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYRIGHT INSTALL README VERSION WHATSNEW $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYRIGHT README VERSION WHATSNEW $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="musl"
VERSION="1.2.2"
VERSION="1.2.3"
HOMEPAGE="https://musl.libc.org/"
DOWNLOAD="https://musl.libc.org/releases/musl-1.2.2.tar.gz"
MD5SUM="aed8ae9e2b0898151b36a204088292dd"
DOWNLOAD="https://musl.libc.org/releases/musl-1.2.3.tar.gz"
MD5SUM="a507ae4f7f20bcfe566d8eb65c1af73e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""