mariadb-c-connector: update to 3.2.7

master
parent 5aff5d3beb
commit 361ada2c31
  1. 13
      main/mariadb-connector-c/APKBUILD

@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mariadb-connector-c
pkgver=3.1.17
pkgver=3.2.7
pkgrel=2
pkgdesc="The MariaDB Native Client library (C driver)"
url="https://mariadb.org/"
@ -14,12 +14,6 @@ subpackages="$pkgname-dev"
source="https://mirror.vpsfree.cz/mariadb/connector-c-$pkgver/mariadb-connector-c-$pkgver-src.tar.gz"
builddir="$srcdir/mariadb-connector-c-$pkgver-src"
prepare() {
default_prepare
# Patch source to fix error in how the .cmake file was written
sed -e 's|END()|ENDIF()|' -i cmake/ConnectorName.cmake
}
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
@ -48,6 +42,9 @@ package() {
# purge static libs
rm "$pkgdir"/usr/lib/*.a
# Docs conflict with mariadb-doc
rm -r "$pkgdir"/usr/man
# compat symlinks
ln -s mariadb_config "$pkgdir"/usr/bin/mysql_config
ln -s mariadb_version.h "$pkgdir"/usr/include/mysql/mysql_version.h
@ -60,5 +57,5 @@ dev() {
}
sha512sums="
007bf55598c0ebf8dce7a86ba8ca5374ee9307ffd78fe81b64e139245042390d3461d9bbc43326119cc29382a35ecb9d6327dcc7d89a50261f69b46ba4010ca9 mariadb-connector-c-3.1.17-src.tar.gz
3f0c67c5fd12e889a3704e0a638b64a784f05d12c7c424f7ce64e78a3eb17e2ad588e0e23f0ce037cd49efb695294ab69277da78f02940c2a7ea0676886b9c36 mariadb-connector-c-3.2.7-src.tar.gz
"

Loading…
Cancel
Save