diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2022-04-16 02:04:36 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-16 12:12:44 +0700 |
commit | aa4111977a9ce8c4880958590c017242eb25ef00 (patch) | |
tree | e98e4c1c251bbc9b33c0bc6fb911963d60e1a918 /system/musl/musl.SlackBuild | |
parent | 029b8352e4996d9da8d6203b59ba79ae43815ded (diff) |
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>
Diffstat (limited to 'system/musl/musl.SlackBuild')
-rw-r--r-- | system/musl/musl.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/system/musl/musl.SlackBuild b/system/musl/musl.SlackBuild index 662ce35d8be73..68c532f0a4012 100644 --- a/system/musl/musl.SlackBuild +++ b/system/musl/musl.SlackBuild @@ -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 |