summaryrefslogtreecommitdiff
path: root/desktop/q4wine/q4wine.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-03-15 19:06:46 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:26:26 +0200
commit8dc5975690bc9ff4a01b810f06bcf761561dfabc (patch)
tree626e8bab8ca0b96a644dcfbefd3b0b8a0860f24c /desktop/q4wine/q4wine.SlackBuild
parent07c507b4ca8c6f6b01c7be44dae3c5bc4bcacf78 (diff)
downloadslackbuilds-8dc5975690bc9ff4a01b810f06bcf761561dfabc.tar.gz
desktop/q4wine: Updated for version 0.114-r1.
Diffstat (limited to 'desktop/q4wine/q4wine.SlackBuild')
-rw-r--r--desktop/q4wine/q4wine.SlackBuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/desktop/q4wine/q4wine.SlackBuild b/desktop/q4wine/q4wine.SlackBuild
index 4b8830fd71..0be5d45250 100644
--- a/desktop/q4wine/q4wine.SlackBuild
+++ b/desktop/q4wine/q4wine.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qt4wine
-# Copyright 2009 David Somero <dsomero@hotmail.com> Athens,TN USA
+# Copyright 2009-2010 David Somero <dsomero@hotmail.com> Athens,TN USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=q4wine
-VERSION=${VERSION:-0.113}
+VERSION=${VERSION:-0.114_r1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,7 +53,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/q4wine-$SRCVERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
cd $PRGNAM-$SRCVERSION
chown -R root:root .
find . \
@@ -70,17 +70,13 @@ mkdir build
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} ..
-
- make
+
+ make
make install DESTDIR=$PKG
) || exit
-( 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 || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL LICENSE README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION