/[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.1 - (show annotations) (download)
Sat Oct 6 20:15:36 2001 UTC (18 years, 11 months ago) by hallski
Branch: MAIN
gnome-office almost finished, need to look at gnome-extra/gnome-db

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.ebuild,v 1.6 2001/07/29 11:02:25 hallski Exp $
5
6 A=${P}.tar.gz
7 S=${WORKDIR}/${P}
8 DESCRIPTION="Diagram Creation Program"
9 SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${A}"
10 HOMEPAGE="http://www.gnome.org/gnome-office/dia.shtml"
11
12 RDEPEND=">=dev-libs/libxml-1.8.15
13 >=media-libs/gdk-pixbuf-0.11.0-r1
14 >=dev-libs/popt-1.5
15 bonobo? ( >=gnome-base/bonobo-1.0.9-r1 )"
16
17 DEPEND="${RDEPEND}
18 nls? ( sys-devel/gettext )"
19 # python? ( dev-lang/python-2.0 )"
20
21 src_compile() {
22 local myconf
23
24 if [ "`use gnome`" ] ; then
25 myconf="--enable-gnome"
26 fi
27
28 if [ "`use bonobo`" ]; then
29 myconf="--enable-gnome --enable-bonobo"
30 fi
31
32 # if [ "`use python`" ] ; then
33 # myconf="$myconf --with-python"
34 # fi
35
36 if [ -z "`use nls`" ] ; then
37 myconf="$myconf --disable-nls"
38 fi
39
40 ./configure --host=${CHOST} \
41 --prefix=/usr \
42 ${myconf} || die
43
44 # enable-gnome-print not recoomended
45
46 emake || die
47 }
48
49 src_install () {
50 make DESTDIR=${D} install || die
51
52 dodoc AUTHORS COPYING ChangeLog README NEWS TODO KNOWN_BUGS
53 }

  ViewVC Help
Powered by ViewVC 1.1.20