summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-06-03 10:06:31 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-06-03 10:06:31 +0000
commitf78a74a331b2f33e56c35828cb626d9352325f75 (patch)
treed7889cad3eb546401d43da804275cff525337cd8 /app-office/mdbtools/mdbtools-0.5.ebuild
parentnew mdb version for libgda (diff)
downloadgentoo-2-f78a74a331b2f33e56c35828cb626d9352325f75.tar.gz
gentoo-2-f78a74a331b2f33e56c35828cb626d9352325f75.tar.bz2
gentoo-2-f78a74a331b2f33e56c35828cb626d9352325f75.zip
new mdb version for libgda
Diffstat (limited to 'app-office/mdbtools/mdbtools-0.5.ebuild')
-rw-r--r--app-office/mdbtools/mdbtools-0.5.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/app-office/mdbtools/mdbtools-0.5.ebuild b/app-office/mdbtools/mdbtools-0.5.ebuild
new file mode 100644
index 000000000000..57a5cc4bd2f7
--- /dev/null
+++ b/app-office/mdbtools/mdbtools-0.5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/mdbtools-0.5.ebuild,v 1.1 2003/06/03 10:06:22 liquidx Exp $
+
+DESCRIPTION="A set of libraries and utilities for reading Microsoft Access database (MDB) files"
+HOMEPAGE="http://sourceforge.net/projects/mdbtools/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+IUSE="odbc X"
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=dev-libs/glib-2
+ sys-libs/ncurses
+ sys-libs/readline
+ >=sys-devel/flex-2.5.0
+ >=sys-devel/bison-1.35
+ X? ( >=x11-libs/gtk+-2
+ >=gnome-base/libglade-2
+ >=gnome-base/libgnomeui-2 )
+ odbc? ( >=dev-db/unixODBC-2.0 )"
+
+src_compile() {
+ local myconf
+ use odbc && myconf="${myconf} --with-unixodbc=/usr"
+
+ econf --enable-sql \
+ ${myconf} || die "configure failed"
+
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc COPYING* NEWS README* TODO AUTHORS HACKING ChangeLog
+
+ # add a compat symlink
+ dosym /usr/bin/gmdb2 /usr/bin/gmdb
+}