/[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.7 Revision 1.8
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 or later 2# Distributed under the terms of the GNU General Public License, v2 or later
3# $Header: /var/cvsroot/gentoo-x86/app-office/dia/Attic/dia-0.88.1-r1.ebuild,v 1.7 2002/08/06 17:40:50 gerk Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-office/dia/Attic/dia-0.88.1-r1.ebuild,v 1.8 2002/08/30 07:34:14 seemant Exp $
4 4
5S=${WORKDIR}/${P} 5S=${WORKDIR}/${P}
6DESCRIPTION="Diagram Creation Program" 6DESCRIPTION="Diagram Creation Program"
7SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz" 7SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz"
8HOMEPAGE="http://www.gnome.org/gnome-office/dia.shtml" 8HOMEPAGE="http://www.gnome.org/gnome-office/dia.shtml"
9
10SLOT="0"
9KEYWORDS="x86 ppc" 11KEYWORDS="x86 ppc"
10SLOT="0"
11LICENSE="GPL-2" 12LICENSE="GPL-2"
12 13
13RDEPEND=">=dev-libs/libxml-1.8.15 14RDEPEND=">=dev-libs/libxml-1.8.15
14 >=media-libs/gdk-pixbuf-0.16.0-r4 15 >=media-libs/gdk-pixbuf-0.16.0-r4
15 >=dev-libs/popt-1.5 16 >=dev-libs/popt-1.5
20# python? ( dev-lang/python-2.0 )" 21# python? ( dev-lang/python-2.0 )"
21 22
22src_compile() { 23src_compile() {
23 local myconf 24 local myconf
24 25
25 if [ "`use gnome`" ] ; then
26 myconf="--enable-gnome" 26 use gnome && myconf="--enable-gnome"
27 fi
28 27
29 if [ "`use bonobo`" ]; then
30 myconf="--enable-gnome --enable-bonobo" 28 use bonobo && myconf="--enable-gnome --enable-bonobo"
31 fi
32 29
33# if [ "`use python`" ] ; then
34# myconf="${myconf} --with-python" 30# use python && myconf="${myconf} --with-python"
35# fi
36 31
37 if [ -z "`use nls`" ] ; then
38 myconf="${myconf} --disable-nls" 32 use nls || myconf="${myconf} --disable-nls"
39 fi
40 33
41 ./configure --host=${CHOST} \ 34 use cups || myconf="${myconf} --disable-gnome-print"
42 --prefix=/usr \
43 ${myconf} || die
44 35
45 # enable-gnome-print not recoomended 36 econf ${myconf} || die
46
47 emake || die 37 emake || die
48} 38}
49 39
50src_install () { 40src_install () {
51 make DESTDIR=${D} install || die 41 make DESTDIR=${D} install || die

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20