summaryrefslogtreecommitdiff
path: root/system/wine/wine.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2012-12-11 18:47:51 +0100
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:23:09 -0500
commit4dd55d0f3c57cf8c8cacda7c789b04c2107db31d (patch)
tree80f9becf03b972fb72ed8f8903ea629eb67ba717 /system/wine/wine.SlackBuild
parente687f709d9f36824205a6c8d43769bd8bf7d49d2 (diff)
downloadslackbuilds-4dd55d0f3c57cf8c8cacda7c789b04c2107db31d.tar.gz
system/wine: Updated for version 1.5.13.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/wine/wine.SlackBuild')
-rw-r--r--system/wine/wine.SlackBuild25
1 files changed, 9 insertions, 16 deletions
diff --git a/system/wine/wine.SlackBuild b/system/wine/wine.SlackBuild
index ad0e360774..13c6a76c12 100644
--- a/system/wine/wine.SlackBuild
+++ b/system/wine/wine.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for wine
-# Copyright 2011 David Woodfall
+# Copyright 2011- David Woodfall
# All rights reserved.
# Uses patches supplied by Robby Workman's previous slackbuild.
@@ -24,10 +24,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wine
-VERSION=${VERSION:-1.4.1}
+VERSION=${VERSION:-1.5.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -50,8 +49,8 @@ IEFIX=${IEFIX:-NO}
# the run the script like: OPENGL=NO ./wine.SlackBuild
OPENGL=${OPENGL:-YES}
-# Apply DIB patch.
-DIB=${DIB:-NO}
+# Apply LOTRO patch.
+LOTRO=${LOTRO:-NO}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -61,7 +60,7 @@ elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
+ LIBDIRSUFFIX=""
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -94,16 +93,10 @@ if [ "$OPENGL" = "YES" ]; then
do_opengl="without"
fi
-# If DIB=YES then apply DIB patches.
-if [ "$DIB" = "YES" ]; then
- mkdir dib
- cd dib
- unzip $CWD/dibeng-max-2010-11-12.zip
- cd ..
- for i in $(grep dib dib/series); do
- patch -p1 < dib/$i
- done
- autoconf
+# Thanks to Branden for supplying the patch
+# If LOTRO = YES above, then apply the patch
+if [ "$LOTRO" = "YES" ]; then
+ patch -p1 --verbose < $CWD/LOTRO.patch
fi
# All of the libraries produced are 32bit libs anyway