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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Jul 2 11:45:09 2003 UTC (17 years, 2 months ago) by aliz
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.4: +2 -2 lines
unmasks and changelog fixes

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.4.ebuild,v 1.4 2003/02/13 09:18:15 vapier 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 LICENSE="GPL-2 LGPL-2.1"
10 SLOT="0"
11 KEYWORDS="x86"
12
13 DEPEND=">=x11-libs/gtk+-1.2.0
14 >=sys-libs/libtermcap-compat-1.2.3
15 >=sys-devel/flex-2.5.0
16 >=sys-devel/bison-1.35
17 odbc? ( >=dev-db/unixODBC-2.0 )"
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S} || die
22 patch -p1 <${FILESDIR}/mdbtools-0.4-termcap.diff || die
23 }
24
25 src_compile() {
26 local myconf
27 use odbc && myconf="${myconf} --with-unixodbc=/usr"
28
29 ./configure \
30 --enable-sql \
31 --prefix=/usr \
32 --mandir=/usr/share/man \
33 --infodir=/usr/share/info \
34 --host=${CHOST} ${myconf} || die "./configure failed"
35
36 emake || die
37 }
38
39 src_install() {
40 make DESTDIR=${D} install || die
41
42 # The install process installs pixmaps include the /usr/include
43 # directory. There are also some .h files that aren't included
44 # in any of the RPM files on the sourceforge site, so I'm
45 # thinking they are put here by mistake, like the pixmaps.
46 rm ${D}/usr/include/*.xpm ${D}/usr/include/gmdb.h \
47 ${D}/usr/include/gtkhlist.h ${D}/usr/include/connectparams.h
48
49 dodoc COPYING* NEWS README* TODO AUTHORS HACKING ChangeLog
50 }

  ViewVC Help
Powered by ViewVC 1.1.20