summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/hunspell/hunspell.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/hunspell/hunspell.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/hunspell/hunspell.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/slackware64-current/source/l/hunspell/hunspell.SlackBuild b/slackware64-current/source/l/hunspell/hunspell.SlackBuild
index cc36c093c..75e2d6f7a 100755
--- a/slackware64-current/source/l/hunspell/hunspell.SlackBuild
+++ b/slackware64-current/source/l/hunspell/hunspell.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=hunspell
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j7 "}
@@ -108,6 +108,9 @@ CXXFLAGS="$SLKCFLAGS" \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null