summaryrefslogtreecommitdiff
path: root/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild')
-rw-r--r--development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild36
1 files changed, 26 insertions, 10 deletions
diff --git a/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild b/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild
index f695005fff..6a0e9139a9 100644
--- a/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild
+++ b/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild
@@ -2,14 +2,30 @@
# Slackware build script for mysql-workbench-gpl
-# Written by André Geraldo Vieira <andre.geraldo@gmail.com>
+# Originally written by André Geraldo Vieira <andre.geraldo@gmail.com>
+# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by the SlackBuilds.org team
-# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
-
PRGNAM=mysql-workbench-gpl
-VERSION=${VERSION:-5.2.43}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-5.2.47}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCVERSION=$VERSION-src
@@ -56,15 +72,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Patches from Dhaby Xiloj - reworked for 5.2.43
-patch -p1 < $CWD/mysql-workbench-gpl-5.2.43-src.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh
libtoolize --force
autoreconf -vif
+# Patch from Ponce
+patch -p1 < $CWD/config_and_ifconfig_paths.patch
+
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -72,10 +88,10 @@ autoreconf -vif
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux \
--disable-debug \
--enable-shared=yes \
--enable-static=no \
- --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG