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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Aug 18 22:56:00 2003 UTC (15 years, 3 months ago) by foser
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
dev version bump with some fixes

1 # Copyright 1999-2002 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-1.99.1.ebuild,v 1.1 2003/06/18 15:59:43 foser Exp $
4
5 inherit eutils debug
6
7 IUSE="spell jpeg xml2 gnome"
8
9 S=${WORKDIR}/${P}/abi
10 DESCRIPTION="Fully featured yet light and fast cross platform word processor."
11 #SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
12 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
13 HOMEPAGE="http://www.abisource.com"
14 KEYWORDS="~x86 ~sparc ~alpha ~ppc"
15 LICENSE="GPL-2"
16 SLOT="2"
17
18 DEPEND="virtual/x11
19 virtual/xft
20 >=media-libs/fontconfig-2.1
21 media-libs/libpng
22 >=dev-libs/libunicode-0.4-r1
23 >=dev-libs/libole2-0.2.4-r1
24 >=x11-libs/gtk+-2
25 >=gnome-base/libglade-2
26 >=app-text/wv-0.7.6
27 >=dev-libs/fribidi-0.10.4
28 jpeg? ( >=media-libs/jpeg-6b-r2 )
29 ( xml2? >=dev-libs/libxml2-2.4.10 : dev-libs/expat )
30 spell? ( >=app-text/aspell-0.50.3 )
31 gnome? ( >=gnome-base/libgnomeui-2.2
32 >=gnome-base/libgnomeprintui-2.2.1
33 >=gnome-extra/gal-1.99 )"
34
35 # perl? ( >=dev-lang/perl-5.6 )
36 # perl seems broken
37
38 # FIXME : do 'real' use switching, add gucharmap support
39 # switches do not work by the looks of it
40
41 src_unpack() {
42 unpack ${A}
43
44 # Patch to make the wv.h tests work
45 #
46 # wv wants libole2 which in it's turn wants glib 1.2
47 # glib.h includes glibconfig.h which is in a non-included path
48 # and makes the tests fail, this patch adds those paths to configure.
49 # Compiling without specifying the path anywhere goes fine.
50 #
51 # April 1st 2003 <foser@gentoo.org>
52 cd ${S}
53 # epatch ${FILESDIR}/${PN}-1.1.4-wv_configure_fooling.patch
54 }
55
56 src_compile() {
57
58 ./autogen.sh
59
60 local myconf
61
62 use gnome \
63 && myconf="${myconf} --enable-gnome" \
64 || myconf="${myconf} --disable-gnome"
65
66 econf ${myconf} --with-sys-wv || die
67
68 emake all-recursive || die
69 }
70
71 src_install() {
72 dodir /usr/{bin,lib}
73
74 einstall PERLDEST=${D} || die
75
76 dosed "s:${D}::g" /usr/bin/AbiWord-2.0
77
78 rm -f ${D}/usr/bin/abiword-2.0
79 rm -f ${D}/usr/bin/abiword
80 dosym AbiWord-2.0 /usr/bin/abiword-2.0
81
82 dodoc COPYING *.TXT docs/build/BUILD.TXT
83
84 # Install icon and .desktop for menu entry
85 use gnome && ( \
86 insinto /usr/share/pixmaps
87 newins ${WORKDIR}/${P}/abidistfiles/icons/abiword_48.png AbiWord.png
88 insinto /usr/share/applications/
89 doins ${FILESDIR}/AbiWord2.desktop
90 # Not installing oaf files, not overly stable.
91 )
92 }
93
94 pkg_postinst() {
95 einfo "For stability, install the latest 1.0.x release."
96 }
97

  ViewVC Help
Powered by ViewVC 1.1.20