summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-09 07:22:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-09 11:00:30 +0700
commit3c3a9548d3a828885cea6a3833cf7ef57cf36808 (patch)
treecb2613e083ce5a83bffbd97bb6fc0c94c8b54b56
parent7829f0b344ff79579f79911aae77b028796e4b8c (diff)
downloadslackbuilds-3c3a9548d3a828885cea6a3833cf7ef57cf36808.tar.gz
libraries/mysql-connector-c++: Updated for version 1.1.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild14
-rw-r--r--libraries/mysql-connector-c++/mysql-connector-c++.info6
2 files changed, 8 insertions, 12 deletions
diff --git a/libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild b/libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild
index 9df215f7af..e379e7f62b 100644
--- a/libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild
+++ b/libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mysql-connector-c++
-VERSION=${VERSION:-1.1.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.1.5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,10 +64,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@@ -82,10 +82,6 @@ cd build
make install DESTDIR=$PKG
cd ..
-if [ "$ARCH" = "x86_64" ]; then
- mv $PKG/usr/lib/ $PKG/usr/lib${LIBDIRSUFFIX}/
-fi
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/mysql-connector-c++/mysql-connector-c++.info b/libraries/mysql-connector-c++/mysql-connector-c++.info
index ce7261f7c0..864c3e98eb 100644
--- a/libraries/mysql-connector-c++/mysql-connector-c++.info
+++ b/libraries/mysql-connector-c++/mysql-connector-c++.info
@@ -1,8 +1,8 @@
PRGNAM="mysql-connector-c++"
-VERSION="1.1.3"
+VERSION="1.1.5"
HOMEPAGE="https://dev.mysql.com/downloads/connector/cpp/"
-DOWNLOAD="http://cdn.mysql.com/Downloads/Connector-C++/mysql-connector-c++-1.1.3.tar.gz"
-MD5SUM="65828789b8d92e6118e7f24568f34a07"
+DOWNLOAD="https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++-1.1.5.tar.gz"
+MD5SUM="7cdffd0aa6e48035485081cf94521b02"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""