Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
Date: Tue, 05 Nov 2019 19:44:32 +0100	[thread overview]
Message-ID: <20191105184432.OVZtKnI_f7NBiWmdHFBeHsIRfgj6v5xVwTn5i1MIlhQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16128@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16128

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16128.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16128.patch --]
[-- Type: text/x-diff, Size: 2285 bytes --]

From 50363b1d6c701fc32abff4bdf56de80efbd75ec2 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Tue, 5 Nov 2019 01:25:01 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c-devel    |  1 +
 srcpkgs/mariadb-connector-c/template | 32 ++++++++++++++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 120000 srcpkgs/mariadb-connector-c-devel
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..d69e1846536 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1 
diff --git a/srcpkgs/mariadb-connector-c-devel b/srcpkgs/mariadb-connector-c-devel
new file mode 120000
index 00000000000..39f1ff07000
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c-devel
@@ -0,0 +1 @@
+mariadb-connector-c
\ No newline at end of file
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..be0baacb539
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,32 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+build_style=cmake
+build_helper="qemu"
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee
+
+pre_configure() {
+	case "$XBPS_TARGET_MACHINE" in
+		*-musl)	vsed -i -e "/CHECK_INCLUDE_FILES (ucontext.h HAVE_UCONTEXT_H)/d" \
+			cmake/CheckIncludeFiles.cmake
+	esac
+}
+
+mariadb-connector-c-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/include
+		vmove usr/lib/mariadb/*.so
+		vmove usr/lib/mariadb/*.a
+		vmove usr/lib/pkgconfig
+	}
+}

  parent reply	other threads:[~2019-11-05 18:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-05  0:28 [PR PATCH] " voidlinux-github
2019-11-05  0:30 ` voidlinux-github
2019-11-05  1:46 ` voidlinux-github
2019-11-05  1:55 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-05  2:08 ` voidlinux-github
2019-11-05 14:47 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-05 18:39 ` voidlinux-github
2019-11-05 18:44 ` voidlinux-github [this message]
2019-11-05 19:19 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-05 19:55 ` voidlinux-github
2019-11-08 17:13 ` voidlinux-github
  -- strict thread matches above, loose matches on Subject: below --
2019-11-04 22:23 [PR PATCH] " voidlinux-github
2019-11-04 22:53 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-04 23:18 ` voidlinux-github
2019-11-04 23:20 ` voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191105184432.OVZtKnI_f7NBiWmdHFBeHsIRfgj6v5xVwTn5i1MIlhQ@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).