/[gentoo-x86]/gnome-extra/libgda/libgda-2.99.3.ebuild
Gentoo

Contents of /gnome-extra/libgda/libgda-2.99.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Feb 13 22:08:40 2007 UTC (11 years, 6 months ago) by leonardop
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
New release: 2.99.5
(Portage version: 2.1.2-r9)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-2.99.3.ebuild,v 1.1 2007/01/29 22:48:44 leonardop Exp $
4
5 # TODO:
6 # * Verify if the parallel compilation problems persist, and if so fix them.
7
8 WANT_AUTOMAKE="1.9"
9 WANT_AUTOCONF="2.5"
10
11 inherit autotools eutils mono gnome2
12
13 DESCRIPTION="Gnome Database Access Library"
14 HOMEPAGE="http://www.gnome-db.org/"
15 LICENSE="GPL-2 LGPL-2"
16
17 IUSE="berkdb doc firebird freetds ldap mdb mono mysql oci8 odbc postgres xbase"
18 SLOT="3"
19 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
20
21 RDEPEND=">=dev-libs/glib-2.8
22 >=dev-libs/libxml2-2
23 virtual/fam
24 sys-libs/readline
25 sys-libs/ncurses
26 dev-libs/popt
27 berkdb? ( sys-libs/db )
28 odbc? ( >=dev-db/unixODBC-2.0.6 )
29 mysql? ( virtual/mysql )
30 postgres? ( >=dev-db/libpq-7.2.1 )
31 freetds? ( >=dev-db/freetds-0.62 )
32 firebird? ( dev-db/firebird )
33 xbase? ( dev-db/xbase )
34 mdb? ( >=app-office/mdbtools-0.5 )
35 ldap? ( >=net-nds/openldap-2.0.25 )
36 mono? (
37 >=dev-lang/mono-1
38 >=dev-dotnet/gtk-sharp-2.3.90 )"
39
40 DEPEND="${RDEPEND}
41 >=dev-util/pkgconfig-0.9
42 >=dev-util/intltool-0.30
43 app-text/scrollkeeper
44 doc? ( >=dev-util/gtk-doc-1 )"
45
46 DOCS="AUTHORS ChangeLog NEWS README"
47
48 # problems with parallel builds
49 MAKEOPTS="${MAKEOPTS} -j1"
50
51
52 pkg_setup() {
53 G2CONF="$(use_enable mono csharp) \
54 $(use_with berkdb bdb /usr) \
55 $(use_with odbc odbc /usr) \
56 $(use_with mysql mysql /usr) \
57 $(use_with postgres postgres /usr) \
58 $(use_with freetds tds /usr) \
59 $(use_with firebird firebird /usr) \
60 $(use_with xbase xbase /usr) \
61 $(use_with mdb mdb /usr) \
62 $(use_with ldap ldap /usr)"
63
64 use oci8 || G2CONF="${G2CONF} --without-oracle"
65
66 # Not in portage
67 G2CONF="${G2CONF} --without-mSQL --without-sybase --without-ibmdb2"
68 }
69
70 src_unpack() {
71 gnome2_src_unpack
72
73 # Fix compilation of the mdb provider
74 epatch "${FILESDIR}/${PN}-1.2.3-mdb_api.patch"
75
76 # Avoid collisions with libgda-1.2.x
77 epatch "${FILESDIR}/${P}-collisions.patch"
78 mv -f ${S}/tools/gda-config.5 ${S}/tools/gda-config-3.0.5
79 mv -f ${S}/tools/gda-config-tool.1 ${S}/tools/gda-config-tool-3.0.1
80 mv -f ${S}/doc/C/libgda-docs.sgml ${S}/doc/C/libgda-3.0-docs.sgml
81 mv -f ${S}/doc/C/libgda-overrides.txt ${S}/doc/C/libgda-3.0-overrides.txt
82 mv -f ${S}/doc/C/libgda-sections.txt ${S}/doc/C/libgda-3.0-sections.txt
83 mv -f ${S}/doc/C/libgda.types ${S}/doc/C/libgda-3.0.types
84
85 sed -n -e '/GTK_DOC_CHECK/,/IT_PROG_INTLTOOL/p' aclocal.m4 > gtk-doc.m4
86 intltoolize --automake -c -f || die "intltoolize failed"
87 AT_M4DIR="." eautoreconf
88 }

  ViewVC Help
Powered by ViewVC 1.1.20