Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/mdbtools/
Date: Mon, 03 May 2021 16:49:17
Message-Id: 1620060537.e34887e1a4e731bf03c27e962b217e6326aafc79.sam@gentoo
1 commit: e34887e1a4e731bf03c27e962b217e6326aafc79
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 2 07:08:56 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 3 16:48:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e34887e1
7
8 app-office/mdbtools: add 0.9.3
9
10 Bug: https://bugs.gentoo.org/773289
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 app-office/mdbtools/Manifest | 1 +
14 app-office/mdbtools/mdbtools-0.9.3.ebuild | 59 +++++++++++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/app-office/mdbtools/Manifest b/app-office/mdbtools/Manifest
18 index b7d1d5408ce..04300d1a7d9 100644
19 --- a/app-office/mdbtools/Manifest
20 +++ b/app-office/mdbtools/Manifest
21 @@ -1,3 +1,4 @@
22 DIST mdbtools-0.7.1.tar.gz 277257 BLAKE2B 3740c543b1ea2e898a96dc1a560fd83cf079d37f5d02805891c5902b75a417c9efbf421346902766017113d447b088656afbfd0297b26655aa07fce973adc216 SHA512 bbad415c59a3f54c11bcd04971220b1370046c5dfd7300d1f23e597615a1df6af850c6f767e78033676d486d87a11c72dfdb141abbee8378337c3fda9a450b75
23 DIST mdbtools-0.9.1.tar.gz 158762 BLAKE2B a730c1ea4efceebb494fc69eac5b94ab23088e0c496684fe027b005492168b6639ec3ebc950e09f643e4a1b50017150caee639255e5e1deb5f9a46c0969077ff SHA512 d8383c20c062a759386e80927337f8ed526914fb53095480dfe791d80fe4cc3e19e83627ca9d34986968b282b16b4c43a6302f76c55d3c2545b6e7b625d47966
24 DIST mdbtools-0.9.2.tar.gz 214246 BLAKE2B f62ffae2b084e53f7222ab969aa7f57f65735281383f93aeb025cff38b32b9aa22ffffb819532f816cc45a9156f7136bd9de953b17b86817380123451d51170c SHA512 cb2bddca83eb9867b765f6fc57fb289f91ce4e2e09dd953e338c26f6c4bcfe9ddb53368c4eef6d02927e582c2e10312462b82916c2e956fa269f25a765371d8d
25 +DIST mdbtools-0.9.3.tar.gz 214697 BLAKE2B 59aca58d11b9c513c8d5b8401423b04484657543d742e20e058e7b29e8225a2c2c3b6e5a95a61a2214a1323b1c5d80b08a71c9f9bcdbf2f35b079a7b05919841 SHA512 3ceb9e374fd638a01d087a1f5e8fb357b24f0a85a8f9c65743a78ec1d6a981fed299744610382ae525f3781e73e268de5c4bb2e48eff78e48b197e2add23587e
26
27 diff --git a/app-office/mdbtools/mdbtools-0.9.3.ebuild b/app-office/mdbtools/mdbtools-0.9.3.ebuild
28 new file mode 100644
29 index 00000000000..f23e1aadf9c
30 --- /dev/null
31 +++ b/app-office/mdbtools/mdbtools-0.9.3.ebuild
32 @@ -0,0 +1,59 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit autotools
39 +
40 +DESCRIPTION="Set of libraries and utilities for reading Microsoft Access database (MDB) files"
41 +HOMEPAGE="https://github.com/mdbtools/mdbtools"
42 +SRC_URI="https://github.com/brianb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="GPL-2 LGPL-2.1"
45 +SLOT="0/3"
46 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
47 +IUSE="glib odbc"
48 +
49 +BDEPEND="
50 + app-text/txt2man
51 + sys-devel/flex
52 + virtual/pkgconfig
53 + virtual/yacc
54 +"
55 +RDEPEND="
56 + sys-libs/ncurses:0=
57 + sys-libs/readline:0=
58 + virtual/libiconv
59 + glib? ( dev-libs/glib:2 )
60 + odbc? ( >=dev-db/unixODBC-2.0 )
61 +"
62 +DEPEND="${RDEPEND}"
63 +
64 +DOCS=( AUTHORS HACKING NEWS README.md )
65 +
66 +src_prepare() {
67 + default
68 +
69 + # bug #770019
70 + sed -i -e 's/-Werror//' configure.ac || die
71 +
72 + eautoreconf
73 +}
74 +
75 +src_configure() {
76 + # TODO: Make iconv optional
77 +
78 + local myeconfargs=(
79 + --disable-static
80 + $(use_enable glib)
81 + $(use odbc && echo "--with-unixodbc=${EPREFIX}/usr")
82 + )
83 +
84 + econf "${myeconfargs[@]}"
85 +}
86 +
87 +src_install() {
88 + default
89 +
90 + find "${ED}" -name '*.la' -delete || die
91 +}