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

Contents of /app-office/dia/dia-0.90-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Feb 13 09:15:20 2003 UTC (17 years, 5 months ago) by vapier
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.6: +2 -2 lines
Update Copyright years

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/app-office/dia/dia-0.90-r2.ebuild,v 1.6 2003/02/13 07:18:17 gerk Exp $
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="nls gnome bonobo truetype png"
13
14 RDEPEND=">=dev-libs/libxml-1.8.14
15 >=media-libs/gdk-pixbuf-0.7
16 dev-libs/popt
17 dev-libs/libunicode
18 bonobo? ( gnome-base/bonobo )
19 truetype? ( >=media-libs/freetype-2.0.5 )
20 png? ( media-libs/libpng
21 >=gnome-base/gnome-libs-1.4 )"
22 # Python module needs some work
23 DEPEND="${RDEPEND}
24 nls? ( sys-devel/gettext )"
25 # python? ( dev-lang/python-2.0 )"
26
27 src_compile() {
28 local myconf
29
30 use gnome && myconf="--enable-gnome" \
31 || myconf="--disable-gnome"
32
33 use bonobo && myconf="${myconf} --enable-bonobo" \
34 || myconf="${myconf} --disable-bonobo"
35
36 # use python && myconf="${myconf} --with-python"
37
38 use truetype && myconf="${myconf} --enable-freetype" \
39 || myconf="${myconf} --enable-freetype"
40
41 use nls || myconf="${myconf} --disable-nls"
42
43 # enable-gnome-print not recoomended
44
45 econf ${myconf}
46 emake || die
47 }
48
49 src_install() {
50 make DESTDIR=${D} install || die
51 dodoc AUTHORS COPYING ChangeLog README NEWS TODO KNOWN_BUGS
52 }

  ViewVC Help
Powered by ViewVC 1.1.20