/[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.2 - (hide annotations) (download)
Wed Mar 26 11:46:37 2003 UTC (17 years, 7 months ago) by seo
Branch: MAIN
Changes since 1.1: +2 -2 lines
Fixed 'SRC_URI'

1 seo 1.1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 seo 1.2 # $Header: /home/cvsroot/gentoo-x86/app-office/dia/dia-0.91.ebuild,v 1.1 2003/03/26 09:32:40 seo Exp $
4 seo 1.1
5     DESCRIPTION="Diagram Creation Program"
6 seo 1.2 SRC_URI="ftp://ftp.gnome.org/pub/GNOME/sources/${PN}/${PV}/${P}.tar.gz"
7 seo 1.1 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