desktop/qlipper: Updated for version 2.0.1.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
ponce 2012-08-12 09:44:11 +02:00 committed by Robby Workman
parent 353e14eb86
commit 8c1e1cd347
2 changed files with 14 additions and 8 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="qlipper"
VERSION="1.8.3"
VERSION="2.0.1"
HOMEPAGE="http://code.google.com/p/qlipper/"
DOWNLOAD="http://qlipper.googlecode.com/files/qlipper-1.8.3.tar.bz2"
MD5SUM="05c821eb2debd9dbdec400181dca68e7"
DOWNLOAD="http://qlipper.googlecode.com/files/qlipper-2.0.1.tar.bz2"
MD5SUM="e5e256de9b8ea07e237bde9b8e3ceb75"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""