/[gentoo-x86]/app-office/dia/dia-0.88.1-r1.ebuild
Gentoo

Contents of /app-office/dia/dia-0.88.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Fri Mar 8 05:29:51 2002 UTC (18 years, 7 months ago) by agenkin
Branch: MAIN
Changes since 1.2: +2 -2 lines
gqview and dia would segfault at startup on my system with
gdk-pixbuf-0.16.0-r1, but seem to work with -r4.  Bumping up the
gdk-pixbuf dependency for these packages to 0-16.0-r4, to play it
safe.

1 hallski 1.1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License, v2 or later
3     # Author Achim Gottinger <achim@gentoo.org>
4 agenkin 1.3 # $Header: /home/cvsroot/gentoo-x86/app-office/dia/dia-0.88.1-r1.ebuild,v 1.2 2001/11/10 03:03:57 hallski Exp $
5 hallski 1.1
6     S=${WORKDIR}/${P}
7     DESCRIPTION="Diagram Creation Program"
8 hallski 1.2 SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz"
9 hallski 1.1 HOMEPAGE="http://www.gnome.org/gnome-office/dia.shtml"
10    
11     RDEPEND=">=dev-libs/libxml-1.8.15
12 agenkin 1.3 >=media-libs/gdk-pixbuf-0.16.0-r4
13 hallski 1.1 >=dev-libs/popt-1.5
14     bonobo? ( >=gnome-base/bonobo-1.0.9-r1 )"
15    
16     DEPEND="${RDEPEND}
17     nls? ( sys-devel/gettext )"
18     # python? ( dev-lang/python-2.0 )"
19    
20     src_compile() {
21     local myconf
22    
23     if [ "`use gnome`" ] ; then
24     myconf="--enable-gnome"
25     fi
26    
27     if [ "`use bonobo`" ]; then
28     myconf="--enable-gnome --enable-bonobo"
29     fi
30    
31     # if [ "`use python`" ] ; then
32     # myconf="$myconf --with-python"
33     # fi
34    
35     if [ -z "`use nls`" ] ; then
36     myconf="$myconf --disable-nls"
37     fi
38    
39     ./configure --host=${CHOST} \
40     --prefix=/usr \
41     ${myconf} || die
42    
43     # enable-gnome-print not recoomended
44    
45     emake || die
46     }
47    
48     src_install () {
49     make DESTDIR=${D} install || die
50    
51     dodoc AUTHORS COPYING ChangeLog README NEWS TODO KNOWN_BUGS
52     }

  ViewVC Help
Powered by ViewVC 1.1.20