aboutsummaryrefslogtreecommitdiff
path: root/libraries/wxGTK/wxGTK.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-12-23 13:52:34 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-23 13:52:34 -0200
commit0dd642ad3e583c6a192e633c8ef82a1430bd149e (patch)
tree8447053a488f839e192117a9527d0af29da73b75 /libraries/wxGTK/wxGTK.SlackBuild
parentf0bc8747dd35935526f2d1772d121eea0f6b3bb0 (diff)
libraries/wxGTK: Added option to build media library.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/wxGTK/wxGTK.SlackBuild')
-rw-r--r--libraries/wxGTK/wxGTK.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/libraries/wxGTK/wxGTK.SlackBuild b/libraries/wxGTK/wxGTK.SlackBuild
index 3bce50ab5f4b..5d066669a326 100644
--- a/libraries/wxGTK/wxGTK.SlackBuild
+++ b/libraries/wxGTK/wxGTK.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for wxGTK
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
+# Copyright 2010-2011 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +25,11 @@
# Lots of key help from Eric Hameleers and the SBo admins.
-# Versions >= 2.8.10 by Niels Horn <niels.horn@gmail.com>
-# revision date: 2011/04/01
+# revision date: 2011/12/23
PRGNAM=wxGTK
VERSION=${VERSION:-2.8.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,23 +52,18 @@ UNICODE=${UNICODE:-YES}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
- ARCHQUADLET=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- ARCHQUADLET=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- ARCHQUADLET=""
elif [ "$ARCH" = "arm" ]; then
SLKCFLAGS="-O2 -march=armv4t"
LIBDIRSUFFIX=""
- ARCHQUADLET="-gnueabi"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
- ARCHQUADLET=""
fi
set -e
@@ -100,9 +95,10 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--enable-shared \
+ --enable-mediactrl \
--with-opengl \
--${_do_unicode}able-unicode \
- --build=$ARCH-slackware-linux$ARCHQUADLET
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG