/[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.8 - (hide annotations) (download)
Fri Aug 30 07:34:14 2002 UTC (18 years, 1 month ago) by seemant
Branch: MAIN
Changes since 1.7: +12 -22 lines
small fix0rs

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 seemant 1.8 # $Header: /home/cvsroot/gentoo-x86/app-office/dia/dia-0.88.1-r1.ebuild,v 1.7 2002/08/06 17:40:50 gerk 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 seemant 1.8
10     SLOT="0"
11 gerk 1.7 KEYWORDS="x86 ppc"
12 aliz 1.6 LICENSE="GPL-2"
13 hallski 1.1
14     RDEPEND=">=dev-libs/libxml-1.8.15
15 seemant 1.4 >=media-libs/gdk-pixbuf-0.16.0-r4
16     >=dev-libs/popt-1.5
17     bonobo? ( >=gnome-base/bonobo-1.0.9-r1 )"
18 hallski 1.1
19     DEPEND="${RDEPEND}
20     nls? ( sys-devel/gettext )"
21     # python? ( dev-lang/python-2.0 )"
22    
23     src_compile() {
24     local myconf
25    
26 seemant 1.8 use gnome && myconf="--enable-gnome"
27    
28     use bonobo && myconf="--enable-gnome --enable-bonobo"
29    
30     # use python && myconf="${myconf} --with-python"
31    
32     use nls || myconf="${myconf} --disable-nls"
33 hallski 1.1
34 seemant 1.8 use cups || myconf="${myconf} --disable-gnome-print"
35 hallski 1.1
36 seemant 1.8 econf ${myconf} || die
37 hallski 1.1 emake || die
38     }
39    
40     src_install () {
41     make DESTDIR=${D} install || die
42    
43     dodoc AUTHORS COPYING ChangeLog README NEWS TODO KNOWN_BUGS
44     }

  ViewVC Help
Powered by ViewVC 1.1.20