summaryrefslogtreecommitdiffstats
path: root/source/ap
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-10-03 23:05:29 +0000
committer Eric Hameleers <alien@slackware.com>2021-10-04 08:59:55 +0200
commitd1596dee9dd02b4f89228bf87a72a6fb8cefccf5 (patch)
treeb3e13c95995163fee380346228f294705c9482a5 /source/ap
parentd5dc9cb46d62c408598feeb6fad80f4bb3d43bce (diff)
downloadcurrent-d1596dee9dd02b4f89228bf87a72a6fb8cefccf5.tar.gz
current-d1596dee9dd02b4f89228bf87a72a6fb8cefccf5.tar.xz
Sun Oct 3 23:05:29 UTC 202120211003230529
a/mcelog-179-x86_64-1.txz: Upgraded. ap/squashfs-tools-4.5-x86_64-2.txz: Rebuilt. Fixed broken symlinks. Thanks to marav. l/eigen2-2.0.17-x86_64-4.txz: Removed. l/eigen3-3.4.0-x86_64-1.txz: Upgraded. l/pcre2-10.38-x86_64-1.txz: Upgraded. n/links-2.25-x86_64-1.txz: Upgraded. n/snownews-1.9-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/ap')
-rwxr-xr-xsource/ap/squashfs-tools/squashfs-tools.SlackBuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/source/ap/squashfs-tools/squashfs-tools.SlackBuild b/source/ap/squashfs-tools/squashfs-tools.SlackBuild
index 65f274986..c77eeec0b 100755
--- a/source/ap/squashfs-tools/squashfs-tools.SlackBuild
+++ b/source/ap/squashfs-tools/squashfs-tools.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=squashfs-tools
VERSION=${VERSION:-$( echo squashfs-tools*.tar.?z | cut -d- -f3- | rev | cut -f3- -d . | rev )}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -103,6 +103,18 @@ make $NUMJOBS \
# Install:
make install INSTALL_DIR=$PKG/usr/bin || exit 1
+# Fix (if needed) broken symlinks:
+( cd $PKG/usr/bin
+ if ls -l sqfscat | grep -q package-squashfs-tools ; then
+ rm sqfscat
+ ln -sf unsquashfs sqfscat
+ fi
+ if ls -l sqfstar | grep -q package-squashfs-tools ; then
+ rm sqfstar
+ ln -sf mksquashfs sqfstar
+ fi
+)
+
# Strip binaries:
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null