From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/unixODBC/
Date: Wed, 9 Aug 2023 04:49:24 +0000 (UTC) [thread overview]
Message-ID: <1691556521.27d68a4cc58c56f46ec3181c7a36c54fd267ca45.sam@gentoo> (raw)
commit: 27d68a4cc58c56f46ec3181c7a36c54fd267ca45
Author: Michael Vetter <jubalh <AT> iodoru <DOT> org>
AuthorDate: Tue Aug 8 11:56:57 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 9 04:48:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27d68a4c
dev-db/unixODBC: Add 2.3.12
Signed-off-by: Michael Vetter <jubalh <AT> iodoru.org>
Closes: https://github.com/gentoo/gentoo/pull/32219
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-db/unixODBC/Manifest | 1 +
dev-db/unixODBC/unixODBC-2.3.12.ebuild | 74 ++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/dev-db/unixODBC/Manifest b/dev-db/unixODBC/Manifest
index 3162b4581286..1e34e2941e3d 100644
--- a/dev-db/unixODBC/Manifest
+++ b/dev-db/unixODBC/Manifest
@@ -1 +1,2 @@
DIST unixODBC-2.3.11.tar.gz 1752585 BLAKE2B fa1502d7b83c8c10ee9d54b23281096156a3e3ec893b81acf125cd95c1de0f4ae7657ab3b4c5214a5c6a0fc9209e53cd9acdf6f99e65840e0a05366182af5600 SHA512 dddc32f90a7962e6988e1130a8093c6fb8b9ff532cad270d572250324aecbc739f45f9d8021d217313910bab25b08e69009b4f87456575535e93be1f46f5f13d
+DIST unixODBC-2.3.12.tar.gz 1753915 BLAKE2B 9da9b0fb5ff962db8ec1483b700aca5d4adf88f3349b22010bd0b4b4ec1fe2e7a51d761527e3b9e49b08286a00e55aadc38c320a6db512ba52f491aecad7fd83 SHA512 ca9d8db943195679a44db1fc09391dc6662ab1721112c93d448f04011e98502462ffe14b8364eb03707d851db456eced20eb61a22370392ca88d917038d45b56
diff --git a/dev-db/unixODBC/unixODBC-2.3.12.ebuild b/dev-db/unixODBC/unixODBC-2.3.12.ebuild
new file mode 100644
index 000000000000..5adc1d911a52
--- /dev/null
+++ b/dev-db/unixODBC/unixODBC-2.3.12.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="Complete ODBC driver manager"
+HOMEPAGE="https://www.unixodbc.org/"
+SRC_URI="https://www.unixodbc.org/unixODBC-${PV}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="+minimal odbcmanual static-libs unicode"
+
+RDEPEND="
+ dev-libs/libltdl:0[${MULTILIB_USEDEP}]
+ >=sys-libs/readline-6.2_p5-r1:=[${MULTILIB_USEDEP}]
+ >=sys-libs/ncurses-5.9-r3:=[${MULTILIB_USEDEP}]
+ >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+"
+DEPEND="
+ ${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+"
+
+MULTILIB_CHOST_TOOLS=( /usr/bin/odbc_config )
+MULTILIB_WRAPPED_HEADERS=( /usr/include/unixODBC/unixodbc_conf.h /usr/include/unixodbc.h )
+
+src_prepare() {
+ default
+
+ # Only needed for config.h install patch
+ eautoreconf
+}
+
+multilib_src_configure() {
+ # Needs flex, bison
+ export LEX=flex
+ unset YACC
+
+ # --enable-driver-conf is --enable-driverc as per configure.in
+ local myeconfargs=(
+ --cache-file="${BUILD_DIR}"/config.cache
+ --sysconfdir="${EPREFIX}"/etc/${PN}
+ --disable-editline
+ --disable-static
+ --enable-iconv
+ --enable-shared
+ $(use_enable static-libs static)
+ $(use_enable !minimal drivers)
+ $(use_enable !minimal driverc)
+ $(use_with unicode iconv-char-enc UTF8)
+ $(use_with unicode iconv-ucode-enc UTF16LE)
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if use odbcmanual ; then
+ # We could simply run "make install-html" if we'd not had
+ # out-of-source builds here.
+ docinto html
+ dodoc -r doc/.
+ find "${ED}/usr/share/doc/${PF}/html" -name "Makefile*" -delete || die
+ fi
+
+ use prefix && dodoc README*
+ find "${ED}" -type f -name '*.la' -delete || die
+}
next reply other threads:[~2023-08-09 4:49 UTC|newest]
Thread overview: 96+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-09 4:49 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-23 5:11 [gentoo-commits] repo/gentoo:master commit in: dev-db/unixODBC/ Sam James
2025-01-30 9:57 Arthur Zamarin
2025-01-30 9:57 Arthur Zamarin
2025-01-30 0:49 Sam James
2025-01-30 0:49 Sam James
2025-01-30 0:49 Sam James
2025-01-30 0:49 Sam James
2023-09-24 14:25 Arthur Zamarin
2023-09-22 17:34 Arthur Zamarin
2023-09-22 9:31 Arthur Zamarin
2023-09-22 9:15 Arthur Zamarin
2023-09-22 9:15 Arthur Zamarin
2023-09-22 9:15 Arthur Zamarin
2023-09-22 9:15 Arthur Zamarin
2023-09-22 9:15 Arthur Zamarin
2023-06-10 7:08 Sam James
2023-06-09 18:16 Arthur Zamarin
2023-06-09 18:11 Arthur Zamarin
2023-06-09 18:04 Arthur Zamarin
2023-06-09 17:57 Arthur Zamarin
2023-05-16 18:03 Arthur Zamarin
2023-05-16 16:53 Sam James
2023-05-16 3:39 Sam James
2023-05-16 3:39 Sam James
2023-05-15 20:32 Arthur Zamarin
2023-05-15 20:29 Arthur Zamarin
2023-05-15 20:29 Arthur Zamarin
2023-05-15 20:29 Arthur Zamarin
2023-05-06 11:34 Sam James
2023-05-06 11:34 Sam James
2023-04-15 10:58 Sam James
2022-06-03 4:31 Sam James
2022-05-17 11:54 WANG Xuerui
2022-01-19 23:14 James Le Cuirot
2021-06-07 8:33 Joonas Niilola
2021-03-16 19:23 Sam James
2021-01-07 20:14 Sam James
2021-01-07 10:40 Sam James
2021-01-06 18:43 Fabian Groffen
2021-01-04 19:40 Sergei Trofimovich
2021-01-04 19:37 Sergei Trofimovich
2021-01-04 4:53 Sam James
2021-01-04 3:33 Sam James
2021-01-04 3:31 Sam James
2021-01-04 2:03 Sam James
2020-09-07 12:00 Lars Wendler
2020-03-21 10:43 Andreas Sturmlechner
2020-03-21 9:24 Mart Raudsepp
2020-02-13 14:40 Agostino Sarubbo
2020-02-06 7:51 Sergei Trofimovich
2020-02-03 15:24 Agostino Sarubbo
2020-02-03 12:49 Agostino Sarubbo
2020-02-03 12:39 Agostino Sarubbo
2020-02-03 12:38 Agostino Sarubbo
2020-02-03 12:35 Agostino Sarubbo
2020-02-03 12:31 Agostino Sarubbo
2020-02-03 12:30 Agostino Sarubbo
2019-05-05 18:41 Mikle Kolyada
2018-09-24 15:10 Lars Wendler
2018-07-15 11:45 Mart Raudsepp
2018-06-12 15:38 Mikle Kolyada
2018-04-22 21:04 Aaron Bauman
2018-04-22 19:18 Matt Turner
2018-04-13 23:22 Aaron Bauman
2018-03-20 11:08 Lars Wendler
2018-03-20 9:30 Lars Wendler
2018-03-20 9:30 Lars Wendler
2018-03-17 23:13 Matt Turner
2018-03-17 23:13 Matt Turner
2018-03-16 23:39 Sergei Trofimovich
2018-03-13 18:01 Markus Meier
2018-03-05 17:13 Tobias Klausmann
2018-03-04 6:51 Thomas Deutschmann
2018-02-28 21:49 Sergei Trofimovich
2018-02-28 9:10 Agostino Sarubbo
2018-02-27 21:56 Sergei Trofimovich
2018-02-27 13:43 Jason Zaman
2018-02-26 22:22 Sergei Trofimovich
2018-02-07 8:51 Michael Palimaka
2018-02-06 18:36 Thomas Deutschmann
2018-01-29 8:22 Tobias Klausmann
2018-01-28 20:41 Markus Meier
2018-01-15 10:39 Lars Wendler
2018-01-15 10:39 Lars Wendler
2018-01-03 17:34 Mikle Kolyada
2017-12-28 18:02 Sergei Trofimovich
2017-12-24 13:38 Sergei Trofimovich
2017-12-24 9:59 Sergei Trofimovich
2017-06-20 8:42 Alexis Ballier
2017-06-06 12:51 Pacho Ramos
2017-06-06 12:51 Pacho Ramos
2016-09-19 13:17 Lars Wendler
2016-08-06 12:47 Pacho Ramos
2016-04-10 15:24 Lars Wendler
2016-04-10 15:24 Lars Wendler
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=1691556521.27d68a4cc58c56f46ec3181c7a36c54fd267ca45.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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