summaryrefslogtreecommitdiff
path: root/network/knemo/knemo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/knemo/knemo.SlackBuild')
-rw-r--r--network/knemo/knemo.SlackBuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/network/knemo/knemo.SlackBuild b/network/knemo/knemo.SlackBuild
index 300565dfce..ee0727fd28 100644
--- a/network/knemo/knemo.SlackBuild
+++ b/network/knemo/knemo.SlackBuild
@@ -8,7 +8,7 @@
set -e
PRGNAM=knemo
-VERSION=0.6.80
+VERSION=0.7.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,13 +56,18 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-cmake . \
- -DCMAKE_INSTALL_PREFIX=/usr
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
+ ..
-make
-make install DESTDIR=$PKG
+ make
+ make install DESTDIR=$PKG
+cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true