diff options
author | Willy Sudiarto Raharjo <willysr@slackware-id.org> | 2013-10-31 22:15:57 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-10-31 22:15:57 -0500 |
commit | 1301d0e5ebd061ffc166e894cbffca414667ec29 (patch) | |
tree | 947b24e68d17034219c98f07c5219f8d84040d50 | |
parent | 0a6237aabb423d28a4d87d84c6f6ba4b2ff710c6 (diff) |
development/mysql-workbench-gpl: Updated for version 6.0.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild | 41 | ||||
-rw-r--r-- | development/mysql-workbench-gpl/mysql-workbench-gpl.info | 8 |
2 files changed, 28 insertions, 21 deletions
diff --git a/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild b/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild index 6a0e9139a9bd0..eaf527b77030b 100644 --- a/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild +++ b/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mysql-workbench-gpl -VERSION=${VERSION:-5.2.47} +VERSION=${VERSION:-6.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,36 +74,43 @@ find . \ 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} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux \ - --disable-debug \ - --enable-shared=yes \ - --enable-static=no \ - +mkdir wb-build +cd wb-build +cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. make + +# we will remove it later after installation +# without these document, it will fail to build +touch $TMP/$PRGNAM-$SRCVERSION/LICENSE.mysql + make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +cd .. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING README COPYING.LGPL ChangeLog INSTALL \ + AUTHORS COPYING* ChangeLog README INSTALL \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# remove unnecessary empty document +rm -f $TMP/$PRGNAM-$SRCVERSION/LICENSE.mysql + +# Fix missing shared library libwbbase +( + cd $PKG/usr/lib${LIBDIRSUFFIX} + rm -f libwbbase.so + ln -s mysql-workbench/libwbbase.so . +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/development/mysql-workbench-gpl/mysql-workbench-gpl.info b/development/mysql-workbench-gpl/mysql-workbench-gpl.info index eb9a00b77d6c0..5298fecdb939b 100644 --- a/development/mysql-workbench-gpl/mysql-workbench-gpl.info +++ b/development/mysql-workbench-gpl/mysql-workbench-gpl.info @@ -1,10 +1,10 @@ PRGNAM="mysql-workbench-gpl" -VERSION="5.2.47" +VERSION="6.0.4" HOMEPAGE="http://www.mysql.com/downloads/workbench/" -DOWNLOAD="http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/MySQLGUITools/mysql-workbench-gpl-5.2.47-src.tar.gz" -MD5SUM="e7cfb1249dddf628a6586bc309679ef3" +DOWNLOAD="http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/MySQLGUITools/mysql-workbench-gpl-6.0.4-src.tar.gz" +MD5SUM="c2c09a570dbb9a92c8115cc20585ef51" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gtkmm ctemplate paramiko pexpect lua wxPython" +REQUIRES="tinyxml mysql-connector-c++ vsqlite++ gtkmm ctemplate paramiko pexpect lua wxPython" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackware-id.org" |