/[gentoo-x86]/app-office/dia/dia-0.91.ebuild
Gentoo

Contents of /app-office/dia/dia-0.91.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Mar 26 09:32:40 2003 UTC (17 years, 7 months ago) by seo
Branch: MAIN
new version

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 DESCRIPTION="Diagram Creation Program"
6 SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz"
7 HOMEPAGE="http://www.gnome.org/gnome-office/dia.shtml"
8
9 SLOT="0"
10 LICENSE="GPL-2"
11 KEYWORDS="~x86 ~ppc ~sparc"
12 IUSE="gnome png python"
13
14 DEPEND=">=x11-libs/gtk+-2.0.0
15 >=x11-libs/pango-1.0.5
16 >=dev-libs/libxml2-2.3.9
17 >=media-libs/freetype-2.0.9
18 >=dev-util/intltool-0.21
19 png? ( media-libs/libpng
20 media-libs/libart_lgpl )
21 gnome? ( gnome-base/gnome-libs )
22 python? ( >=dev-lang/python-2.0
23 dev-python/pygtk )"
24
25 RDEPEND="${DEPEND}"
26
27 src_compile() {
28 local myconf
29
30 use gnome && myconf="--enable-gnome" \
31 || myconf="--disable-gnome"
32
33 use python && myconf="${myconf} --with-python"
34
35 econf ${myconf}
36 emake || die
37 }
38
39 src_install() {
40 make DESTDIR=${D} install || die
41 dodoc AUTHORS COPYING ChangeLog README NEWS TODO KNOWN_BUGS
42 }

  ViewVC Help
Powered by ViewVC 1.1.20