Portage is a package management system used by Gentoo Linux
# ChangeLog for app-office/mdbtools
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/ChangeLog,v 1.40 2008/06/23 18:49:42 graaff Exp $
23 Jun 2008; Hans de Graaff
mdbtools-0.6_pre1-r1.ebuild:
Remove obsolete acinclude.m4 before running eautoreconf so that newer libtool
doesn't get upset, fixing #227257.
06 Apr 2008; Hans de Graaff
mdbtools-0.6_pre1-r1.ebuild:
Add missing pkgconfig dependency, fixing #216433; properly split RDEPEND and
DEPEND.
06 Apr 2008; Hans de Graaff
-files/mdbtools-0.5-gcc34.patch, -mdbtools-0.5.ebuild:
Remove old version
10 Aug 2007; Steve Dibb
amd64 stable, bug 186143
30 Jul 2007; Markus Rothe
mdbtools-0.6_pre1-r1.ebuild:
Stable on ppc64; bug #186143
29 Jul 2007; Tobias Scherbaum
mdbtools-0.6_pre1-r1.ebuild:
ppc stable, bug #186143
27 Jul 2007; Raúl Porcel
mdbtools-0.6_pre1-r1.ebuild:
alpha/ia64/x86 stable wrt #186143
27 Jul 2007; Jeroen Roovers
Stable for HPPA (bug #186143).
27 Jul 2007; Gustavo Zacarias
mdbtools-0.6_pre1-r1.ebuild:
Stable on sparc wrt #186143
05 Jul 2007; Roy Marples
mdbtools-0.6_pre1-r1.ebuild:
Keyworded ~x86-fbsd.
30 Jun 2007; Raúl Porcel
mdbtools-0.6_pre1-r1.ebuild:
Add ~alpha wrt #178310
16 Jun 2007; Tobias Scherbaum
mdbtools-0.6_pre1-r1.ebuild:
Added ~ppc, bug #178310
19 May 2007; Markus Rothe
mdbtools-0.6_pre1-r1.ebuild:
Added ~ppc64; bug #178310
16 May 2007; Gustavo Zacarias
mdbtools-0.6_pre1-r1.ebuild:
Keyworded ~sparc wrt #178310
15 May 2007; Thilo Bangert
add
15 May 2007; Jeroen Roovers
Marked ~hppa (bug #178310).
13 May 2007; Raúl Porcel
mdbtools-0.6_pre1-r1.ebuild:
Readd ~ia64 wrt bug 178310
13 May 2007; Hans de Graaff
+files/mdbtools-0.6_pre1-strlen.patch, metadata.xml,
mdbtools-0.6_pre1-r1.ebuild:
Grab maintainership. Add patch to fix minor QA issue.
04 Dec 2006; Charlie Shepherd
+files/mdbtools-0.6_pre1-as-needed.patch, mdbtools-0.6_pre1-r1.ebuild:
Add a patch to fix compiling with --as-needed, thanks to Gergan Penkov for
the patch, bug 135246
*mdbtools-0.6_pre1-r1 (17 Nov 2006)
17 Nov 2006; Leonardo Boshell
-mdbtools-0.6_pre1.ebuild, +mdbtools-0.6_pre1-r1.ebuild:
Run eautoreconf() since the tarball was created with a buggy libtool,
creating libraries with incorrect names in some platforms (e.g. amd64).
28 May 2006; Mark Loeser
+files/mdbtools-0.6_pre1-gcc41.patch, mdbtools-0.6_pre1.ebuild:
Add patch to fix compilation with gcc-4.1; bug #134524
24 May 2006; Cory Visi
Removed mdbtools-0.4 from the tree (outdated and not maintained)
24 May 2006; Cory Visi
Updated to version 0.6_pre1, change X flag to gnome, Removed gtk dependency,
fixed symlink on install all to address Bug 69633
18 Feb 2006; Aron Griffis
Mark 0.5 stable on ia64
06 Apr 2005; Markus Rothe
Stable on ppc64
01 Feb 2005; Markus Rothe
Added ~ppc64 to KEYWORDS
20 Sep 2004;
Adding GCC 3.4 compile fix submitted by Ed Catmur (ed@catmur.co.uk) and
updated for odbc support by Mihai Limbasan (mihailim@yahoo.com).
01 Jul 2004; Aron Griffis
sync IUSE (+odbc)
17 Jan 2004; Bartosch Pixa
set ppc in keywords
17 Dec 2003; Guy Martin
Marked stable on hppa.
13 Dec 2003; Brad House
mark stable on amd64
12 Nov 2003; Jason Wever
Marked stable on sparc.
09 Nov 2003; Jason Wever
Added ~sparc keyword.
24 Aug 2003; Luca Barbato
Marked ~ppc
27 Jun 2003; Alastair Tse
bumping to stable
*mdbtools-0.5 (03 Jun 2003)
03 Jun 2003; Alastair Tse
version bump (libgda needs 0.5) and cleanups. gui protected by X useflag
and deps updated to gtk2/gnome2
*mdbtools-0.4 (20 Nov 2002)
20 Nov 2002; Donny Davies
Initial import, from Pat Double
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX mdbtools-0.6_pre1-as-needed.patch 482 RMD160 96eb67726fcccd745dc5494fefbcb3e6db936d9a SHA1 59c1e6a246c1dc1245386cfb6f49ec6c88eea0a0 SHA256 38d06663bc41ced3e094d4a78d6a0b81909b08720bec2696ef7431fb90519416
AUX mdbtools-0.6_pre1-gcc34.patch 1571 RMD160 b21fa43cc3b3f9e336c741862caf73a6fe66f99e SHA1 04e16d502c28cb065d04fc4afe68761380cd8521 SHA256 63a2f8d06d905274c3dfb60373b7a4c967534a06b864dc3e73e2a92ed8b0f633
AUX mdbtools-0.6_pre1-gcc41.patch 498 RMD160 3c4c39b3c17066c09e7e3a5fa052d195eb3f6740 SHA1 b137104183f56f2a155a83036613c25b3deef15e SHA256 58ab3afcf6e3a97570db7980cf81792b21c84e9074afdc7826c2789306122a63
AUX mdbtools-0.6_pre1-strlen.patch 284 RMD160 cfa88cda151cfb7f63cc7fbd3cb366d00f40ac35 SHA1 98ec5927166a47bda8a3223998282ff9b7fa3359 SHA256 a1ba4bde512318dc6db254f5ab04df94644970106fc950e316877734502f40b5
DIST mdbtools-0.6pre1.tar.gz 611756 RMD160 e6a89d6984ba84aa9895ab0b6e6b68ac86881be3 SHA1 37a50d623a444ec690d2677b12b59c2f11e497c0 SHA256 7169dc50da857aae2b3f62cd5c6ace37fed56f3e39d07c9afa5aba882b1de3d3
EBUILD mdbtools-0.6_pre1-r1.ebuild 1873 RMD160 7356f0a30a44218d97532486127d8a3efa52d525 SHA1 e95d4053826c6d1b164f8a04f085c411496d0c98 SHA256 3fcf4a857ce33366b04ab43000c89d28a18b43f40bc74a5b799df8beb3f8a26b
MISC ChangeLog 5005 RMD160 7286161d30bfe1ab9a181944ad06a4c2b5be921c SHA1 73c2947a7caf7ee5c5658e9b0de9e02e02e9818a SHA256 47e72f0c60291168384f227eeb1d57d53637e04b143da1a9d618d536b91f6639
MISC metadata.xml 220 RMD160 65cff73eb25c0cc60095d42dd59adbefcb127b77 SHA1 059c076f5c2d3a1eb0b022ef90920bcabaf841b3 SHA256 0f420960bb0e6e212e563ce0883b0e412304dfd506a39e434d2c7a40a603ba86
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhf8EwACgkQCzgcb6sPj4+CGwCgltjuePDjrYJymIXOVPKfxAJe
wVQAn0MfG4viU2nME93V5kxg5F8h1Hbf
=wSzv
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/mdbtools-0.6_pre1-r1.ebuild,v 1.18 2008/06/23 18:49:42 graaff Exp $
WANT_AUTOMAKE="1.7"
inherit eutils autotools
MY_P=${P/_/}
S="${WORKDIR}/${MY_P}"
DESCRIPTION="A set of libraries and utilities for reading Microsoft Access database (MDB) files"
HOMEPAGE="http://mdbtools.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
IUSE="gnome odbc"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
RDEPEND=">=dev-libs/glib-2
sys-libs/ncurses
sys-libs/readline
gnome? (
>=gnome-base/libglade-2
>=gnome-base/libgnomeui-2 )
odbc? ( >=dev-db/unixODBC-2.0 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
>=sys-devel/flex-2.5.0
>=sys-devel/bison-1.35"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc34.patch
epatch "${FILESDIR}"/${P}-gcc41.patch
epatch "${FILESDIR}"/${P}-as-needed.patch
epatch "${FILESDIR}"/${P}-strlen.patch
# This is necessary since the upstream tarball was created with a
# buggy libtool, and the .so suffix in library names is lost in
# some platforms (e.g. amd64). Starting with libtool 2.2.4 it is
# also necessary to remove the acinclude.m4 file since it contains
# an old libtool.m4 that is obsolete, #227257.
rm "${S}"/acinclude.m4
eautoreconf
}
src_compile() {
local myconf
use odbc && myconf="${myconf} --with-unixodbc=/usr"
econf --enable-sql \
${myconf} || die "configure failed"
emake || die "Compilation failed"
}
src_install() {
make DESTDIR="${D}" install || die "Installation failed"
dodoc COPYING* NEWS README* TODO AUTHORS HACKING ChangeLog
# add a compat symlink (gmdb2 is not compiled if gnome USE flag is disabled)
use gnome && dosym gmdb2 /usr/bin/gmdb
}