summaryrefslogtreecommitdiffstats
path: root/libraries/flatbuffers/flatbuffers.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/flatbuffers/flatbuffers.SlackBuild')
-rw-r--r--libraries/flatbuffers/flatbuffers.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/flatbuffers/flatbuffers.SlackBuild b/libraries/flatbuffers/flatbuffers.SlackBuild
index 671d380b12..89fda633da 100644
--- a/libraries/flatbuffers/flatbuffers.SlackBuild
+++ b/libraries/flatbuffers/flatbuffers.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for flatbuffers
-# Copyright 2022 Steven Voges <Oregon, USA>
+# Copyright 2022-2023 Steven Voges <Oregon, USA>
# Copyright 2016 Andre Barboza, Belo Horizonte - Brazil
# All rights reserved.
#
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=flatbuffers
-VERSION=${VERSION:-22.9.24}
+VERSION=${VERSION:-23.5.26}
DOCS=${DOCS:-no}
SAMPLES=${SAMPLES:-no}
BUILD=${BUILD:-1}
@@ -97,12 +97,14 @@ cd build
make install/strip DESTDIR=$PKG
cd ..
+rm $PKG/usr/lib$LIBDIRSUFFIX/lib$PRGNAM.a
+
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- *.md LICENSE.txt \
+ *.md LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild