/[gentoo-x86]/app-office/abiword/abiword-2.0.3.ebuild
Gentoo

Contents of /app-office/abiword/abiword-2.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Mar 7 14:59:31 2004 UTC (14 years, 8 months ago) by foser
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
new release 'n cleanup

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/abiword/abiword-2.0.3.ebuild,v 1.1 2004/02/07 18:34:08 foser Exp $
4
5 inherit eutils
6
7 IUSE="spell jpeg xml2 gnome debug"
8
9 S=${WORKDIR}/${P}/abi
10 S_P=${WORKDIR}/${P}/${PN}-plugins
11
12 DESCRIPTION="Fully featured yet light and fast cross platform word processor"
13 HOMEPAGE="http://www.abisource.com"
14
15 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
16
17 KEYWORDS="~x86 ~sparc ~alpha ~ppc"
18 LICENSE="GPL-2"
19 SLOT="2"
20
21 RDEPEND="virtual/x11
22 virtual/xft
23 >=media-libs/fontconfig-2.1
24 media-libs/libpng
25 >=x11-libs/gtk+-2
26 >=gnome-base/libglade-2
27 >=app-text/wv-1
28 >=dev-libs/fribidi-0.10.4
29 jpeg? ( >=media-libs/jpeg-6b-r2 )
30 ( xml2? >=dev-libs/libxml2-2.4.10 : dev-libs/expat )
31 spell? ( >=app-text/enchant-1 )
32 gnome? ( >=gnome-base/libgnomeui-2.2
33 >=gnome-base/libgnomeprint-2.2.1
34 >=gnome-base/libgnomeprintui-2.2.1
35 >=gnome-base/libbonobo-2 )"
36
37 DEPEND="${RDEPEND}
38 sys-devel/automake
39 dev-util/pkgconfig"
40
41 src_compile() {
42
43 # this is a hack since I don't want to go hack in the gnome-vfs headerfiles.
44 # The issue is about gnome-vfs containing "long long" which makes gcc 3.3.1 balk
45 cp configure configure.old
46 cat configure.old |sed s:-pedantic::g >configure
47 rm -f configure.old
48
49 econf \
50 `use_enable gnome` \
51 `use_with xml2 libxml2` \
52 `use_enable spell enchant` \
53 `use_enable debug` \
54 --enable-bidi \
55 --enable-threads \
56 --without-ImageMagick \
57 --disable-scripting \
58 --with-sys-wv || die
59
60 emake all-recursive || die
61
62 # Build plugins
63
64 cd ${S_P}
65
66 econf \
67 `use_enable debug` \
68 --enable-all \
69 --with-abiword=${S} \
70 --without-ImageMagick || die
71
72 emake || die
73
74 }
75
76 src_install() {
77
78 dodir /usr/{bin,lib}
79
80 einstall PERLDEST=${D} || die
81
82 dosed "s:Exec=abiword:Exec=abiword-2.0:" /usr/share/applications/abiword.desktop
83
84 rm -f ${D}/usr/bin/abiword-2.0
85 rm -f ${D}/usr/bin/abiword
86 dosym AbiWord-2.0 /usr/bin/abiword-2.0
87
88 dodoc COPYING *.TXT docs/build/BUILD.TXT user/wp/readme.txt
89
90 # install plugins
91
92 cd ${S_P}
93
94 make DESTDIR=${D} install || die
95
96 }

  ViewVC Help
Powered by ViewVC 1.1.20