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