/[gentoo-x86]/app-office/siag/siag-3.5.2-r2.ebuild
Gentoo

Contents of /app-office/siag/siag-3.5.2-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Mon Oct 11 22:00:45 2004 UTC (14 years, 1 month ago) by carlo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -1 lines
FILE REMOVED
buried, zombie awakening when on par with ms office

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-office/siag/siag-3.5.2-r2.ebuild,v 1.13 2004/06/24 22:45:31 agriffis Exp $
4
5 DESCRIPTION="A free Office package for Linux"
6 SRC_URI="ftp://siag.nu/pub/siag/${P}.tar.gz"
7 HOMEPAGE="http://siag.nu/"
8 IUSE="kde"
9
10 SLOT="0"
11 LICENSE="GPL-2"
12 KEYWORDS="x86 ~ppc"
13
14 DEPEND="virtual/x11
15 >=dev-libs/gmp-3.1.1
16 >=x11-misc/mowitz-0.2.1
17 >=dev-lang/tcl-8.0.0"
18 # >=media-libs/t1lib-1.0.1"
19
20 RDEPEND="virtual/x11"
21 # >=media-libs/t1lib-1.0.1"
22
23 if use kde; then inherit kde-functions; set-kdedir 3; fi
24
25 src_unpack() {
26
27 unpack ${A}
28 cd ${S}
29
30 if ! use kde; then
31 einfo "Not using KDE"
32 for file in `find . -iname "Makefile.*"`; do
33 grep -v "kdeinst" ${file} >${file}.hacked && \
34 mv ${file}.hacked ${file} || die "Hacking of ${file} failed"
35 done
36 else
37 einfo "Using KDE"
38 sed -e "s:VERBOSE=no:VERBOSE=no\nKDEDIR=${D}/${PREFIX}:" common/kdeinst \
39 > common/kdeinst.hacked && \
40 mv common/kdeinst.hacked common/kdeinst || die "Hacking of kdeinst failed"
41 fi
42 }
43
44 src_compile() {
45
46 local myconf
47 #Causes segfaults in 3.5.2 on my system...
48 # if use guile
49 # then
50 # myconf="${myconf} --with-guile"
51 # else
52 # myconf="${myconf} --without-guile"
53 # fi
54 ./configure --prefix=/usr \
55 --with-x \
56 --with-xawm="Xaw" \
57 --mandir=/usr/share/man \
58 --host=${CHOST} \
59 --with-tcl \
60 --with-gmp \
61 ${myconf} || die "Configure failed"
62 # --with-t1lib \
63
64 make || die "Make failed"
65 }
66
67 src_install () {
68
69 if use kde; then
70 dodir ${PREFIX}
71 fi
72
73 make DESTDIR=${D} install || die "Install failed"
74
75 dodoc AUTHORS COPYING ChangeLog FILES NEWS NLS README
76 }

  ViewVC Help
Powered by ViewVC 1.1.20