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

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # $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
5 S=${WORKDIR}/${P}
6 DESCRIPTION="Diagram Creation Program"
7 SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz"
8 HOMEPAGE="http://www.gnome.org/gnome-office/dia.shtml"
9 KEYWORDS="x86"
10 SLOT="0"
11 LICENSE="GPL-2"
12
13 RDEPEND=">=dev-libs/libxml-1.8.15
14 >=media-libs/gdk-pixbuf-0.16.0-r4
15 >=dev-libs/popt-1.5
16 bonobo? ( >=gnome-base/bonobo-1.0.9-r1 )"
17
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 myconf="--enable-gnome"
27 fi
28
29 if [ "`use bonobo`" ]; then
30 myconf="--enable-gnome --enable-bonobo"
31 fi
32
33 # if [ "`use python`" ] ; then
34 # myconf="${myconf} --with-python"
35 # fi
36
37 if [ -z "`use nls`" ] ; then
38 myconf="${myconf} --disable-nls"
39 fi
40
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