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

Contents of /gnome-extra/libgda/libgda-1.2.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (hide annotations) (download)
Thu Sep 28 20:32:05 2006 UTC (11 years, 10 months ago) by leonardop
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Pruning old ebuilds/patches
(Portage version: 2.1.2_pre1-r3)

1 leonardop 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 leonardop 1.11 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-1.2.2-r1.ebuild,v 1.10 2005/11/02 18:18:58 hansmi Exp $
4 leonardop 1.1
5 azarah 1.9 inherit autotools eutils gnome2
6 leonardop 1.1
7     DESCRIPTION="Gnome Database Access Library"
8     HOMEPAGE="http://www.gnome-db.org/"
9     LICENSE="GPL-2 LGPL-2"
10    
11     IUSE="berkdb doc firebird freetds ldap mdb mysql oci8 odbc postgres sqlite xbase"
12     SLOT="1"
13 hansmi 1.10 KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
14 leonardop 1.1
15     RDEPEND=">=dev-libs/glib-2
16     dev-libs/libxml2
17     >=dev-libs/libxslt-1.0.9
18     dev-libs/popt
19     sys-libs/ncurses
20     sys-libs/readline
21     berkdb? ( sys-libs/db )
22     freetds? ( >=dev-db/freetds-0.62 )
23     ldap? ( >=net-nds/openldap-2.0.25 )
24     mysql? ( >=dev-db/mysql-3.23.51 )
25     odbc? ( >=dev-db/unixODBC-2.0.6 )
26     postgres? ( >=dev-db/postgresql-7.2.1 )
27     x86? ( firebird? ( dev-db/firebird ) )
28     sqlite? ( >=dev-db/sqlite-3 )
29     xbase? ( dev-db/xbase )
30     mdb? ( >=app-office/mdbtools-0.5 )"
31    
32     DEPEND="${RDEPEND}
33     >=dev-util/pkgconfig-0.9
34     >=dev-util/intltool-0.30
35     app-text/scrollkeeper
36     doc? ( >=dev-util/gtk-doc-1 )"
37    
38     DOCS="AUTHORS ChangeLog NEWS README"
39 leonardop 1.4 USE_DESTDIR="1"
40 leonardop 1.1
41     # problems with parallel builds
42     MAKEOPTS="${MAKEOPTS} -j1"
43    
44    
45     pkg_setup() {
46     G2CONF="$(use_with berkdb bdb /usr) \
47     $(use_with firebird firebird /usr) \
48     $(use_with freetds tds /usr) \
49     $(use_with ldap ldap /usr) \
50     $(use_with mdb mdb /usr) \
51     $(use_with mysql mysql /usr) \
52     $(use_with odbc odbc /usr) \
53     $(use_with postgres postgres /usr) \
54     $(use_with sqlite sqlite /usr) \
55     $(use_with xbase xbase /usr)"
56    
57     use oci8 || G2CONF="${G2CONF} --without-oracle"
58    
59     # not in portage
60     G2CONF="${G2CONF} --without-msql --without-sybase --without-ibmdb2"
61     }
62    
63     src_unpack() {
64     unpack "${A}"
65     cd "${S}"
66    
67     # Fix syslog format string attack (bug #110467).
68     epatch ${FILESDIR}/${PN}-1.2-syslog_format_fix.patch
69     # Fix freetds API problems
70     epatch ${FILESDIR}/${PN}-1.0.2-freetds_fix.patch
71     epatch ${FILESDIR}/${PN}-1.2.2-freetds_fixes.patch
72     # Fix compilation of the mdb provider
73     epatch ${FILESDIR}/${PN}-1.2.1-mdb_fix.patch
74    
75 azarah 1.9 sed -n -e '/GTK_DOC_CHECK/,/dnl IT_PROG_INTLTOOL/p' \
76     aclocal.m4 > gtkdoc.m4
77     AT_M4DIR="." eautoreconf
78    
79     gnome2_omf_fix doc/Makefile.in
80 leonardop 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20