/[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.5 - (hide annotations) (download)
Thu Jul 11 06:30:17 2002 UTC (18 years, 3 months ago) by drobbins
Branch: MAIN
Changes since 1.4: +1 -2 lines
header fixes

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

  ViewVC Help
Powered by ViewVC 1.1.20