diff options
author | Sam James <sam@gentoo.org> | 2021-08-05 04:51:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-08-05 04:51:49 +0100 |
commit | d73be5ee4455dbd42b451c7a612040fff2c744f5 (patch) | |
tree | c92cd9446124bc2d963c31eafd3510a3681ee1c1 /app-office/mdbtools/mdbtools-0.9.4.ebuild | |
parent | net-analyzer/slurm: add links to upstream PRs for patches (diff) | |
download | gentoo-d73be5ee4455dbd42b451c7a612040fff2c744f5.tar.gz gentoo-d73be5ee4455dbd42b451c7a612040fff2c744f5.tar.bz2 gentoo-d73be5ee4455dbd42b451c7a612040fff2c744f5.zip |
app-office/mdbtools: add 0.9.4
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-office/mdbtools/mdbtools-0.9.4.ebuild')
-rw-r--r-- | app-office/mdbtools/mdbtools-0.9.4.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/app-office/mdbtools/mdbtools-0.9.4.ebuild b/app-office/mdbtools/mdbtools-0.9.4.ebuild new file mode 100644 index 000000000000..f23e1aadf9c6 --- /dev/null +++ b/app-office/mdbtools/mdbtools-0.9.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Set of libraries and utilities for reading Microsoft Access database (MDB) files" +HOMEPAGE="https://github.com/mdbtools/mdbtools" +SRC_URI="https://github.com/brianb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="glib odbc" + +BDEPEND=" + app-text/txt2man + sys-devel/flex + virtual/pkgconfig + virtual/yacc +" +RDEPEND=" + sys-libs/ncurses:0= + sys-libs/readline:0= + virtual/libiconv + glib? ( dev-libs/glib:2 ) + odbc? ( >=dev-db/unixODBC-2.0 ) +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS HACKING NEWS README.md ) + +src_prepare() { + default + + # bug #770019 + sed -i -e 's/-Werror//' configure.ac || die + + eautoreconf +} + +src_configure() { + # TODO: Make iconv optional + + local myeconfargs=( + --disable-static + $(use_enable glib) + $(use odbc && echo "--with-unixodbc=${EPREFIX}/usr") + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} |