diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-08-12 09:44:11 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 16:23:44 -0500 |
commit | 8c1e1cd347bb1ca07abdbc01d8e8e61acc0cf094 (patch) | |
tree | c07cf659c75e0011f777ede184d13b8ee5cc0412 /desktop/qlipper/qlipper.SlackBuild | |
parent | 353e14eb8603925cd4106a0abb31fe5cc1d6d7ec (diff) |
desktop/qlipper: Updated for version 2.0.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/qlipper/qlipper.SlackBuild')
-rw-r--r-- | desktop/qlipper/qlipper.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/desktop/qlipper/qlipper.SlackBuild b/desktop/qlipper/qlipper.SlackBuild index e4d09ec5fb15..771649f778d7 100644 --- a/desktop/qlipper/qlipper.SlackBuild +++ b/desktop/qlipper/qlipper.SlackBuild @@ -4,7 +4,7 @@ # Written by ponce <matteo.bernardini@gmail.com> PRGNAM=qlipper -VERSION=${VERSION:-1.8.3} +VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -52,10 +52,16 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -qmake qlipper.pro PREFIX=/usr - -make -make install INSTALL_ROOT=$PKG +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. 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 |