summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-11-20 18:53:36 +0000
committerDonny Davies <woodchip@gentoo.org>2002-11-20 18:53:36 +0000
commitf3c1193cd263820f344a49fe6f247bceed6c26db (patch)
tree5d623e45c3af64c3de6761b2da3f954edc6b437a /app-office/mdbtools
parentAdded missing dosym to 0.9.2 (diff)
downloadhistorical-f3c1193cd263820f344a49fe6f247bceed6c26db.tar.gz
historical-f3c1193cd263820f344a49fe6f247bceed6c26db.tar.bz2
historical-f3c1193cd263820f344a49fe6f247bceed6c26db.zip
#8844
Diffstat (limited to 'app-office/mdbtools')
-rw-r--r--app-office/mdbtools/ChangeLog8
-rw-r--r--app-office/mdbtools/files/digest-mdbtools-0.41
-rw-r--r--app-office/mdbtools/files/mdbtools-0.4-termcap.diff12
-rw-r--r--app-office/mdbtools/mdbtools-0.4.ebuild53
4 files changed, 74 insertions, 0 deletions
diff --git a/app-office/mdbtools/ChangeLog b/app-office/mdbtools/ChangeLog
new file mode 100644
index 000000000000..689e8c353348
--- /dev/null
+++ b/app-office/mdbtools/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-office/mdbtools
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/ChangeLog,v 1.1 2002/11/20 18:53:36 woodchip Exp $
+
+*mdbtools-0.4 (20 Nov 2002)
+
+ 20 Nov 2002; Donny Davies <woodchip@gentoo.org> :
+ Initial import, from Pat Double <double@inebraska.com> #8844.
diff --git a/app-office/mdbtools/files/digest-mdbtools-0.4 b/app-office/mdbtools/files/digest-mdbtools-0.4
new file mode 100644
index 000000000000..a11192fa04ee
--- /dev/null
+++ b/app-office/mdbtools/files/digest-mdbtools-0.4
@@ -0,0 +1 @@
+MD5 70015c0c33e910fa817ea6fa0700dd50 mdbtools-0.4.tar.gz 216977
diff --git a/app-office/mdbtools/files/mdbtools-0.4-termcap.diff b/app-office/mdbtools/files/mdbtools-0.4-termcap.diff
new file mode 100644
index 000000000000..2bae6cb3a26b
--- /dev/null
+++ b/app-office/mdbtools/files/mdbtools-0.4-termcap.diff
@@ -0,0 +1,12 @@
+diff -r -u mdbtools-0.4/configure.in mdbtools-0.4pbd/configure.in
+--- mdbtools-0.4/configure.in 2002-04-13 18:22:26.000000000 -0500
++++ mdbtools-0.4pbd/configure.in 2002-10-03 08:52:04.000000000 -0500
+@@ -114,7 +114,7 @@
+ ],[])
+
+ AC_CHECK_LIB(readline, add_history, [
+- READLINE_LIBS="$READLINE_LIBS -lreadline"
++ READLINE_LIBS="$READLINE_LIBS -lreadline -ltermcap"
+ AC_DEFINE(HAVE_READLINE,1,[ ])
+ ],[])
+
diff --git a/app-office/mdbtools/mdbtools-0.4.ebuild b/app-office/mdbtools/mdbtools-0.4.ebuild
new file mode 100644
index 000000000000..e120c550092d
--- /dev/null
+++ b/app-office/mdbtools/mdbtools-0.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/mdbtools-0.4.ebuild,v 1.1 2002/11/20 18:53:36 woodchip Exp $
+
+DESCRIPTION="A set of libraries and utilities for reading Microsoft Access database (MDB) files"
+HOMEPAGE="http://sourceforge.net/projects/mdbtools/"
+
+S="${WORKDIR}/${P}"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL LGPL"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=x11-libs/gtk+-1.2.0
+ >=sys-libs/libtermcap-compat-1.2.3
+ >=sys-devel/flex-2.5.0
+ >=sys-devel/bison-1.35
+ odbc? ( >= dev-db/unixODBC-2.0 )"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+ patch -p1 <${FILESDIR}/mdbtools-0.4-termcap.diff || die
+}
+
+src_compile() {
+ local myconf
+ use odbc && myconf="${myconf} --with-unixodbc=/usr"
+
+ ./configure \
+ --enable-sql \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --host=${CHOST} ${myconf} || die "./configure failed"
+
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ # The install process installs pixmaps include the /usr/include
+ # directory. There are also some .h files that aren't included
+ # in any of the RPM files on the sourceforge site, so I'm
+ # thinking they are put here by mistake, like the pixmaps.
+ rm ${D}/usr/include/*.xpm ${D}/usr/include/gmdb.h \
+ ${D}/usr/include/gtkhlist.h ${D}/usr/include/connectparams.h
+
+ dodoc COPYING* NEWS README* TODO AUTHORS HACKING ChangeLog
+}