diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-03-09 19:39:03 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-03-09 19:39:03 +0000 |
commit | 4cc1ad4e0244ce4e65b9fb323ee309cfac3ea8d2 (patch) | |
tree | f1b7dd110ec5cf6e0a76348451287db89a84aefa /app-office/siag/siag-3.5.7.ebuild | |
parent | stable on x86 and alpha (diff) | |
download | historical-4cc1ad4e0244ce4e65b9fb323ee309cfac3ea8d2.tar.gz historical-4cc1ad4e0244ce4e65b9fb323ee309cfac3ea8d2.tar.bz2 historical-4cc1ad4e0244ce4e65b9fb323ee309cfac3ea8d2.zip |
Version bump
Diffstat (limited to 'app-office/siag/siag-3.5.7.ebuild')
-rw-r--r-- | app-office/siag/siag-3.5.7.ebuild | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/app-office/siag/siag-3.5.7.ebuild b/app-office/siag/siag-3.5.7.ebuild new file mode 100644 index 000000000000..0650e1ebfc6a --- /dev/null +++ b/app-office/siag/siag-3.5.7.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/siag/siag-3.5.7.ebuild,v 1.1 2003/03/09 19:39:03 aliz Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A free Office package for Linux" +SRC_URI="ftp://siag.nu/pub/siag/${P}.tar.gz" +HOMEPAGE="http://siag.nu/" +IUSE="kde" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86" + +DEPEND="virtual/x11 + >=dev-libs/gmp-3.1.1 + >=media-libs/xpm-3.4 + >=x11-misc/mowitz-0.2.1 + >=dev-lang/tcl-8.0.0" +# >=media-libs/t1lib-1.0.1" + +RDEPEND="virtual/x11" +# >=media-libs/t1lib-1.0.1" + +if [ -n "`use kde`" ]; then inherit kde-functions; set-kdedir 3; fi + +src_unpack() { + unpack ${A} + cd ${S} + + if [ -z "`use kde`" ]; then + einfo "Not using KDE" + for file in `find . -iname "Makefile.*"`; do + grep -v "kdeinst" ${file} >${file}.hacked && \ + mv ${file}.hacked ${file} || die "Hacking of ${file} failed" + done + else + einfo "Using KDE" + sed -e "s:VERBOSE=no:VERBOSE=no\nKDEDIR=${D}/${PREFIX}:" common/kdeinst \ + > common/kdeinst.hacked && \ + mv common/kdeinst.hacked common/kdeinst || die "Hacking of kdeinst failed" + fi + + chmod +x ${S}/common/kdeinst +} + +src_compile() { + + local myconf +#Causes segfaults in 3.5.2 on my system... +# if [ "`use guile`" ] +# then +# myconf="${myconf} --with-guile" +# else +# myconf="${myconf} --without-guile" +# fi + ./configure --prefix=/usr \ + --with-x \ + --with-xawm="Xaw" \ + --mandir=/usr/share/man \ + --host=${CHOST} \ + --with-tcl \ + --with-gmp \ + ${myconf} || die "Configure failed" +# --with-t1lib \ + + make || die "Make failed" +} + +src_install () { + + if [ -n "`use kde`" ]; then + dodir ${PREFIX} + fi + + make DESTDIR=${D} install || die "Install failed" + + dodoc AUTHORS COPYING ChangeLog FILES NEWS NLS README +} |