|
Line 0
Link Here
|
|
|
1 |
# Copyright 1999-2017 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
|
| 4 |
EAPI="5" |
| 5 |
|
| 6 |
AUTOTOOLS_AUTORECONF=1 |
| 7 |
AUTOTOOLS_IN_SOURCE_BUILD=1 # needed for proper man generation |
| 8 |
inherit autotools-utils |
| 9 |
|
| 10 |
DESCRIPTION="Set of libraries and utilities for reading Microsoft Access database (MDB) files" |
| 11 |
HOMEPAGE="http://mdbtools.sourceforge.net" |
| 12 |
SRC_URI="https://github.com/brianb/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
| 13 |
|
| 14 |
LICENSE="GPL-2 LGPL-2.1" |
| 15 |
SLOT="0" |
| 16 |
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" |
| 17 |
|
| 18 |
IUSE="odbc static-libs" |
| 19 |
|
| 20 |
RDEPEND=" |
| 21 |
dev-libs/glib:2 |
| 22 |
sys-libs/ncurses:0= |
| 23 |
sys-libs/readline:0= |
| 24 |
odbc? ( >=dev-db/unixODBC-2.0 )" |
| 25 |
DEPEND="${RDEPEND} |
| 26 |
app-text/txt2man |
| 27 |
sys-devel/flex |
| 28 |
virtual/pkgconfig |
| 29 |
virtual/yacc |
| 30 |
" |
| 31 |
|
| 32 |
DOCS=( AUTHORS ChangeLog HACKING NEWS README TODO ) |
| 33 |
|
| 34 |
PATCHES=( "${FILESDIR}/${P}-parallel-make.patch" ) |
| 35 |
|
| 36 |
src_configure() { |
| 37 |
local myeconfargs=( |
| 38 |
--disable-gtk-doc |
| 39 |
--disable-gmdb2 |
| 40 |
$(use odbc && echo "--with-unixodbc=${EPREFIX}/usr") |
| 41 |
) |
| 42 |
autotools-utils_src_configure |
| 43 |
} |