summaryrefslogtreecommitdiff
path: root/desktop/q4wine/q4wine.SlackBuild
diff options
context:
space:
mode:
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