/[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.2 - (show annotations) (download)
Sat Nov 10 03:03:57 2001 UTC (18 years, 10 months ago) by hallski
Branch: MAIN
Changes since 1.1: +2 -3 lines
-fix and removed old gnumerics

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/app-office/dia/dia-0.88.1-r1.ebuild,v 1.1 2001/10/06 20:15:36 hallski Exp $
5
6 S=${WORKDIR}/${P}
7 DESCRIPTION="Diagram Creation Program"
8 SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz"
9 HOMEPAGE="http://www.gnome.org/gnome-office/dia.shtml"
10
11 RDEPEND=">=dev-libs/libxml-1.8.15
12 >=media-libs/gdk-pixbuf-0.11.0-r1
13 >=dev-libs/popt-1.5
14 bonobo? ( >=gnome-base/bonobo-1.0.9-r1 )"
15
16 DEPEND="${RDEPEND}
17 nls? ( sys-devel/gettext )"
18 # python? ( dev-lang/python-2.0 )"
19
20 src_compile() {
21 local myconf
22
23 if [ "`use gnome`" ] ; then
24 myconf="--enable-gnome"
25 fi
26
27 if [ "`use bonobo`" ]; then
28 myconf="--enable-gnome --enable-bonobo"
29 fi
30
31 # if [ "`use python`" ] ; then
32 # myconf="$myconf --with-python"
33 # fi
34
35 if [ -z "`use nls`" ] ; then
36 myconf="$myconf --disable-nls"
37 fi
38
39 ./configure --host=${CHOST} \
40 --prefix=/usr \
41 ${myconf} || die
42
43 # enable-gnome-print not recoomended
44
45 emake || die
46 }
47
48 src_install () {
49 make DESTDIR=${D} install || die
50
51 dodoc AUTHORS COPYING ChangeLog README NEWS TODO KNOWN_BUGS
52 }

  ViewVC Help
Powered by ViewVC 1.1.20