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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Jun 16 21:08:29 2005 UTC (13 years, 5 months ago) by foser
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
new release, mark 2.2.7 x86
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-2.2.2.ebuild,v 1.5 2005/01/26 19:18:58 gmsoft Exp $
4
5 inherit eutils fdo-mime
6
7 IUSE="gnome jpeg spell xml2"
8
9 S_P=${S}/${PN}-plugins
10 S=${WORKDIR}/${P}/abi
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 ~amd64 hppa ~ppc64"
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.4
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 )
31 !xml2? ( dev-libs/expat )
32 spell? ( >=app-text/enchant-1.1 )
33 gnome? ( >=gnome-base/libgnomeui-2.2
34 >=gnome-base/libgnomeprint-2.2.1
35 >=gnome-base/libgnomeprintui-2.2.1
36 >=gnome-base/libbonobo-2
37 >=gnome-extra/gucharmap-1.4 )"
38
39 DEPEND="${RDEPEND}
40 dev-util/pkgconfig"
41
42 src_compile() {
43
44 # this is a hack since I don't want to go hack in the gnome-vfs headerfiles.
45 # The issue is about gnome-vfs containing "long long" which makes gcc 3.3.1 balk
46 cp configure configure.old
47 cat configure.old |sed s:-pedantic::g >configure
48 rm -f configure.old
49
50 econf \
51 `use_enable gnome` \
52 `use_enable gnome gucharmap` \
53 `use_with xml2 libxml2` \
54 `use_enable spell enchant` \
55 --disable-debug \
56 --enable-bidi \
57 --enable-threads \
58 --without-ImageMagick \
59 --disable-scripting \
60 --with-sys-wv || die
61
62 emake all-recursive || die
63
64 # Build plugins
65
66 cd ${S_P}
67
68 econf \
69 --disable-debug \
70 --enable-all \
71 --with-abiword=${S} \
72 --without-ImageMagick || die
73
74 emake || die
75
76 }
77
78 src_install() {
79
80 dodir /usr/{bin,lib}
81
82 make DESTDIR=${D} install || die
83
84 dosed "s:Exec=abiword:Exec=abiword-2.2:" /usr/share/applications/abiword.desktop
85
86 rm -f ${D}/usr/bin/abiword-2.2
87 rm -f ${D}/usr/bin/abiword
88 dosym AbiWord-2.2 /usr/bin/abiword-2.2
89
90 dodoc COPYING *.TXT docs/build/BUILD.TXT user/wp/readme.txt
91
92 # install plugins
93
94 cd ${S_P}
95
96 make DESTDIR=${D} install || die
97
98 }
99
100 pkg_postinst() {
101
102 fdo-mime_desktop_database_update
103
104 }
105
106 USE_DESTDIR="1"

  ViewVC Help
Powered by ViewVC 1.1.20