aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-07-01 16:09:29 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:42:04 +0700
commitaa5bdfe8b401ac65c5ba8d8ceb34e68605be7278 (patch)
tree5eda9a1b24faa60a0e4fdb62801230afbf6ce5e8 /libraries
parente68e52bbcc38ac17eb696cf0f979586f40581288 (diff)
libraries/slv2: Fix shared lib permissions.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/slv2/slv2.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/libraries/slv2/slv2.SlackBuild b/libraries/slv2/slv2.SlackBuild
index fb6b4be280e1..70379c1e945d 100644
--- a/libraries/slv2/slv2.SlackBuild
+++ b/libraries/slv2/slv2.SlackBuild
@@ -22,6 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230701 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - +x permission for shared lib.
+# - remove empty /usr/man/man3 dir.
+
# 20220424 bkw: Modified by SlackBuilds.org, BUILD=3:
# - strip binaries and libraries.
# - don't run ldconfig while bulding.
@@ -32,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=slv2
VERSION=${VERSION:-0.6.6}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -99,12 +103,14 @@ CXXFLAGS="$SLKCFLAGS" \
./waf build
./waf install --destdir=$PKG
strip $PKG/usr/bin/* $PKG/usr/lib*/*.so.*.*.*
+chmod 755 $PKG/usr/lib*/*.so.*.*.*
if [ "$LIBDIRSUFFIX" != "" ]; then
sed -i "s,/lib,/lib$LIBDIRSUFFIX," \
$PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc
fi
+rmdir $PKG/usr/man/man3 || true
gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION