diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2011-07-19 08:38:01 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-07-21 22:52:12 -0500 |
commit | 2a8bbae3f31ba3932ea35dffa990d7d8e82ff923 (patch) | |
tree | 225ccbe7d0d8bd784147141a07981b46c5d2a86d /network/knemo/knemo.SlackBuild | |
parent | 303076bf4a607464b20dfea83967c2ba7b3cd411 (diff) | |
download | slackbuilds-2a8bbae3f31ba3932ea35dffa990d7d8e82ff923.tar.gz |
network/knemo: Updated for version 0.7.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/knemo/knemo.SlackBuild')
-rw-r--r-- | network/knemo/knemo.SlackBuild | 19 |
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 |