/[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.6 - (hide annotations) (download)
Thu Jul 25 19:29:33 2002 UTC (18 years, 3 months ago) by aliz
Branch: MAIN
Changes since 1.5: +4 -1 lines
Added keywords

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 aliz 1.6 # $Header: /home/cvsroot/gentoo-x86/app-office/dia/dia-0.88.1-r1.ebuild,v 1.5 2002/07/11 06:30:17 drobbins 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 aliz 1.6 KEYWORDS="x86"
10     SLOT="0"
11     LICENSE="GPL-2"
12 hallski 1.1
13     RDEPEND=">=dev-libs/libxml-1.8.15
14 seemant 1.4 >=media-libs/gdk-pixbuf-0.16.0-r4
15     >=dev-libs/popt-1.5
16     bonobo? ( >=gnome-base/bonobo-1.0.9-r1 )"
17 hallski 1.1
18     DEPEND="${RDEPEND}
19     nls? ( sys-devel/gettext )"
20     # python? ( dev-lang/python-2.0 )"
21    
22     src_compile() {
23     local myconf
24    
25     if [ "`use gnome`" ] ; then
26 seemant 1.4 myconf="--enable-gnome"
27 hallski 1.1 fi
28    
29     if [ "`use bonobo`" ]; then
30 seemant 1.4 myconf="--enable-gnome --enable-bonobo"
31     fi
32 hallski 1.1
33 seemant 1.4 # if [ "`use python`" ] ; then
34     # myconf="${myconf} --with-python"
35     # fi
36 hallski 1.1
37     if [ -z "`use nls`" ] ; then
38 seemant 1.4 myconf="${myconf} --disable-nls"
39     fi
40 hallski 1.1
41     ./configure --host=${CHOST} \
42     --prefix=/usr \
43     ${myconf} || die
44    
45     # enable-gnome-print not recoomended
46    
47     emake || die
48     }
49    
50     src_install () {
51     make DESTDIR=${D} install || die
52    
53     dodoc AUTHORS COPYING ChangeLog README NEWS TODO KNOWN_BUGS
54     }

  ViewVC Help
Powered by ViewVC 1.1.20