/[gentoo-x86]/app-office/mdbtools/mdbtools-0.5.ebuild
Gentoo

Contents of /app-office/mdbtools/mdbtools-0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jun 27 09:58:25 2003 UTC (17 years, 3 months ago) by liquidx
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.1: +2 -2 lines
bumping to stable

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/app-office/mdbtools/mdbtools-0.5.ebuild,v 1.1 2003/06/03 10:06:22 liquidx Exp $
4
5 DESCRIPTION="A set of libraries and utilities for reading Microsoft Access database (MDB) files"
6 HOMEPAGE="http://sourceforge.net/projects/mdbtools/"
7 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
8
9 IUSE="odbc X"
10 LICENSE="GPL-2 LGPL-2.1"
11 SLOT="0"
12 KEYWORDS="x86"
13
14 DEPEND=">=dev-libs/glib-2
15 sys-libs/ncurses
16 sys-libs/readline
17 >=sys-devel/flex-2.5.0
18 >=sys-devel/bison-1.35
19 X? ( >=x11-libs/gtk+-2
20 >=gnome-base/libglade-2
21 >=gnome-base/libgnomeui-2 )
22 odbc? ( >=dev-db/unixODBC-2.0 )"
23
24 src_compile() {
25 local myconf
26 use odbc && myconf="${myconf} --with-unixodbc=/usr"
27
28 econf --enable-sql \
29 ${myconf} || die "configure failed"
30
31 emake || die
32 }
33
34 src_install() {
35 make DESTDIR=${D} install || die
36 dodoc COPYING* NEWS README* TODO AUTHORS HACKING ChangeLog
37
38 # add a compat symlink
39 dosym /usr/bin/gmdb2 /usr/bin/gmdb
40 }

  ViewVC Help
Powered by ViewVC 1.1.20