summaryrefslogtreecommitdiff
path: root/app-office/mdbtools
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/mdbtools')
-rw-r--r--app-office/mdbtools/Manifest2
-rw-r--r--app-office/mdbtools/mdbtools-1.0.1.ebuild48
2 files changed, 50 insertions, 0 deletions
diff --git a/app-office/mdbtools/Manifest b/app-office/mdbtools/Manifest
index 29d481bfde0e..4f2f483fad7f 100644
--- a/app-office/mdbtools/Manifest
+++ b/app-office/mdbtools/Manifest
@@ -1,3 +1,5 @@
DIST mdbtools-1.0.0.tar.gz 220553 BLAKE2B 55cf3120f16ded1374c0b5535c45a0d15e4d2ec62d4029856bea570282e6099565698c00b27295b01b455eca10d9271e743e60086b427647dfe51c25d65c531d SHA512 3844bde9df3a5beafa40914fef3db25a9b3bc0e66cbd012fd6ad0fcf89e66f48afa922be61972b4d6a7a3d0ba0bf1881f7d8fdebce7f52f19254133dd1d3fc5f
+DIST mdbtools-1.0.1.tar.gz 672774 BLAKE2B c95c4cf343f7261e08eecf5f65be8302cd6491fc6b5d810054a9a2e614e67e8848a157734a41dd200f1ee8c299d5d52d24402574f9f039da537f47f3c2618888 SHA512 3f033db4c036f53f800982b5499a64756d3a859d9284ef5202a7062dc7a2d1ef1a657d43b8ea3f76aa999f5adcc4b3799eaaa8b8084adf6f60d55ba9ccc78b72
EBUILD mdbtools-1.0.0.ebuild 1144 BLAKE2B 27c7b5efc2ffdd0f01834a1f85da4e039192f23e4a98f4a5305a216b782b0dc020b73e6148f13e5a93e21671cdb943e680b5ded58aada8e935b702d0cd68f445 SHA512 7a6db48c659528305ff722bd90d100d287236857465fe37d909399d8118bc4b297ba70f5cf8b79d38fb70a95b142e096fd84eeff9a669889312a28596b837b10
+EBUILD mdbtools-1.0.1.ebuild 1011 BLAKE2B 239001c8429caa754c341e4e148532f2a84084c47187c770119d37cdebf492515a4c15054b62bd6ba1249e1673e8c3285aa4ba7b773fa80df61b1ebe70c12abd SHA512 71d9173176ef9375e023674049e6e5e4f73b95072329ee9e55ce3dcc88e19c5354017d9b4970a23ef12fb6a9294fc1180c874910770bdc5e2b69cdf7d7a587af
MISC metadata.xml 357 BLAKE2B 3c1784fd2c40e530ec162e14d3cc9bac4824c0cecc0e15866f45937ed27f6aca9136640e0345b10bdf7e748be89455d4223532b2c4c28751c9d3fc57f1ce5f1b SHA512 0ae8b8f0ebce22a546c0dd083dd95f48833a648d4c6d28016ae0c96073e9943d82a2a6ce295d7b411c1a63c548467102e5e2c562b4da9c2395d3c0d3bbfa8be9
diff --git a/app-office/mdbtools/mdbtools-1.0.1.ebuild b/app-office/mdbtools/mdbtools-1.0.1.ebuild
new file mode 100644
index 000000000000..e41a119ce886
--- /dev/null
+++ b/app-office/mdbtools/mdbtools-1.0.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Set of libraries and utilities for reading Microsoft Access database (MDB) files"
+HOMEPAGE="https://github.com/mdbtools/mdbtools"
+SRC_URI="https://github.com/mdbtools/mdbtools/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/3"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="glib iconv odbc"
+
+BDEPEND="
+ app-text/txt2man
+ sys-devel/bison
+ sys-devel/flex
+ sys-apps/which
+ virtual/pkgconfig
+"
+RDEPEND="
+ sys-libs/ncurses:=
+ sys-libs/readline:=
+ glib? ( >=dev-libs/glib-2.68:2 )
+ iconv? ( virtual/libiconv )
+ odbc? ( >=dev-db/unixODBC-2.0 )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ # bug #915495
+ unset YACC LEX
+
+ local myeconfargs=(
+ $(use_enable glib)
+ $(use_enable iconv)
+ $(use odbc && echo "--with-unixodbc=${EPREFIX}/usr")
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}