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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-office/dia/Attic/dia-0.88.1-r1.ebuild,v 1.10 2002/10/05 05:39:09 drobbins Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-office/dia/Attic/dia-0.88.1-r1.ebuild,v 1.11 2002/11/30 21:58:24 vapier Exp $
4 4
5IUSE="nls cups gnome bonobo"
6
7S=${WORKDIR}/${P}
8DESCRIPTION="Diagram Creation Program" 5DESCRIPTION="Diagram Creation Program"
9SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz" 6SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz"
10HOMEPAGE="http://www.gnome.org/gnome-office/dia.shtml" 7HOMEPAGE="http://www.gnome.org/gnome-office/dia.shtml"
11 8
12SLOT="0" 9SLOT="0"
13KEYWORDS="x86 ppc" 10KEYWORDS="x86 ppc"
14LICENSE="GPL-2" 11LICENSE="GPL-2"
12IUSE="nls cups gnome bonobo"
15 13
16RDEPEND=">=dev-libs/libxml-1.8.15 14RDEPEND=">=dev-libs/libxml-1.8.15
17 >=media-libs/gdk-pixbuf-0.16.0-r4 15 >=media-libs/gdk-pixbuf-0.16.0-r4
18 >=dev-libs/popt-1.5 16 >=dev-libs/popt-1.5
19 bonobo? ( >=gnome-base/bonobo-1.0.9-r1 )" 17 bonobo? ( >=gnome-base/bonobo-1.0.9-r1 )"
22 nls? ( sys-devel/gettext )" 20 nls? ( sys-devel/gettext )"
23# python? ( dev-lang/python-2.0 )" 21# python? ( dev-lang/python-2.0 )"
24 22
25src_compile() { 23src_compile() {
26 local myconf 24 local myconf
27
28 use gnome && myconf="--enable-gnome" 25 use gnome && myconf="--enable-gnome"
29
30 use bonobo && myconf="--enable-gnome --enable-bonobo" 26 use bonobo && myconf="--enable-gnome --enable-bonobo"
31
32# use python && myconf="${myconf} --with-python" 27# use python && myconf="${myconf} --with-python"
33
34 use nls || myconf="${myconf} --disable-nls" 28 use nls || myconf="${myconf} --disable-nls"
35
36 use cups || myconf="${myconf} --disable-gnome-print" 29 use cups || myconf="${myconf} --disable-gnome-print"
37
38 econf ${myconf} || die 30 econf ${myconf}
39 emake || die 31 emake || die
40} 32}
41 33
42src_install () { 34src_install() {
43 make DESTDIR=${D} install || die 35 make DESTDIR=${D} install || die
44
45 dodoc AUTHORS COPYING ChangeLog README NEWS TODO KNOWN_BUGS 36 dodoc AUTHORS COPYING ChangeLog README NEWS TODO KNOWN_BUGS
46} 37}

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20