aboutsummaryrefslogtreecommitdiff
path: root/libraries/leptonica/leptonica.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-02 11:15:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-02 11:15:21 +0700
commit361c011b45abce8cabbbe2b874e44127303db98a (patch)
tree190a358b146b6d1e0f0cf5a3e425f1b703ee7c2b /libraries/leptonica/leptonica.SlackBuild
parent103b17dbe5225c977d80fd1160f70b593692a92e (diff)
libraries/leptonica: Updated for version 1.82.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/leptonica/leptonica.SlackBuild')
-rw-r--r--libraries/leptonica/leptonica.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/leptonica/leptonica.SlackBuild b/libraries/leptonica/leptonica.SlackBuild
index 9132e6b0010df..09a4d14c2664f 100644
--- a/libraries/leptonica/leptonica.SlackBuild
+++ b/libraries/leptonica/leptonica.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=leptonica
-VERSION=${VERSION:-1.81.1}
+VERSION=${VERSION:-1.82.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -95,6 +95,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
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