mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
desktop/QtCurve-KDE3: Updated for version 0.62.7
This commit is contained in:
parent
4b5799b483
commit
d7ee118637
2 changed files with 15 additions and 13 deletions
|
@ -1,7 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for: QtCurve-KDE3
|
||||
# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
|
||||
|
||||
# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -24,7 +25,7 @@
|
|||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=QtCurve-KDE3
|
||||
VERSION=0.59.5
|
||||
VERSION=${VERSION:-0.62.7}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -35,11 +36,9 @@ PKG=$TMP/package-$PRGNAM
|
|||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -60,14 +59,17 @@ find . \
|
|||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr .
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
.
|
||||
|
||||
make VERBOSE=1
|
||||
make install VERBOSE=1 DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="QtCurve-KDE3"
|
||||
VERSION="0.59.5"
|
||||
VERSION="0.62.7"
|
||||
HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492"
|
||||
DOWNLOAD="http://www.slackbuilds.org/sources/QtCurve-KDE3-0.59.5.tar.bz2"
|
||||
MD5SUM="e6e721a38650c4c453c686c5d871862d"
|
||||
DOWNLOAD="http://www.slackbuilds.org/sources/12.2/QtCurve-KDE3-0.62.7.tar.bz2"
|
||||
MD5SUM="f7cbe04af82690d3364f42d9d43e6fce"
|
||||
MAINTAINER="Michiel van Wessem"
|
||||
EMAIL="michiel@slackbuilds.org"
|
||||
APPROVED="David Somero"
|
||||
APPROVED="dsomero"
|
||||
|
|
Loading…
Reference in a new issue