You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
11 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
11 years ago
|
|
||
|
EAPI="5"
|
||
|
|
||
|
AUTOTOOLS_AUTORECONF=1
|
||
|
AUTOTOOLS_IN_SOURCE_BUILD=1 # needed for proper man generation
|
||
|
inherit autotools-utils
|
||
|
|
||
8 years ago
|
DESCRIPTION="Set of libraries and utilities for reading Microsoft Access database (MDB) files"
|
||
11 years ago
|
HOMEPAGE="http://mdbtools.sourceforge.net"
|
||
|
SRC_URI="https://github.com/brianb/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2 LGPL-2.1"
|
||
|
SLOT="0"
|
||
9 years ago
|
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||
11 years ago
|
|
||
|
IUSE="gnome odbc static-libs"
|
||
|
|
||
9 years ago
|
RDEPEND="
|
||
|
dev-libs/glib:2
|
||
8 years ago
|
sys-libs/ncurses:0=
|
||
|
sys-libs/readline:0=
|
||
11 years ago
|
gnome? (
|
||
|
gnome-base/libglade:2.0
|
||
|
gnome-base/libgnomeui
|
||
|
)
|
||
|
odbc? ( >=dev-db/unixODBC-2.0 )"
|
||
|
DEPEND="${RDEPEND}
|
||
|
app-text/txt2man
|
||
|
sys-devel/flex
|
||
|
virtual/pkgconfig
|
||
8 years ago
|
virtual/yacc
|
||
|
gnome? ( app-text/rarian )
|
||
|
"
|
||
11 years ago
|
|
||
|
DOCS=( AUTHORS ChangeLog HACKING NEWS README TODO )
|
||
|
|
||
|
PATCHES=( "${FILESDIR}/${P}-parallel-make.patch" )
|
||
|
|
||
|
src_configure() {
|
||
|
local myeconfargs=(
|
||
|
--disable-gtk-doc
|
||
|
$(use_enable gnome gmdb2)
|
||
|
$(use odbc && echo "--with-unixodbc=${EPREFIX}/usr")
|
||
|
)
|
||
|
autotools-utils_src_configure
|
||
|
}
|