diff options
author | Marinus Schraal <foser@gentoo.org> | 2003-01-26 18:04:29 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2003-01-26 18:04:29 +0000 |
commit | df59f0f48dce010b6d08ef6ba708ae511c44d037 (patch) | |
tree | 1d6ff673fcf92b884a06e9a8e5afcdfe502a365b /app-office | |
parent | -removed old digest (ebuild was removed earlier) (diff) | |
download | gentoo-2-df59f0f48dce010b6d08ef6ba708ae511c44d037.tar.gz gentoo-2-df59f0f48dce010b6d08ef6ba708ae511c44d037.tar.bz2 gentoo-2-df59f0f48dce010b6d08ef6ba708ae511c44d037.zip |
New version
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/abiword/ChangeLog | 8 | ||||
-rw-r--r-- | app-office/abiword/abiword-1.0.4.ebuild | 83 | ||||
-rw-r--r-- | app-office/abiword/files/digest-abiword-1.0.4 | 1 |
3 files changed, 91 insertions, 1 deletions
diff --git a/app-office/abiword/ChangeLog b/app-office/abiword/ChangeLog index 2d642aa0be57..1e459f9b3efb 100644 --- a/app-office/abiword/ChangeLog +++ b/app-office/abiword/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-office/abiword # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v 1.22 2002/12/22 21:59:19 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v 1.23 2003/01/26 18:04:29 foser Exp $ + +*abiword-1.0.4 (26 Jan 2003) + + 26 Jan 2003; foser <foser@gentoo.org> abiword-1.0.4.ebuild : + New version + changed SLOT to 1, fixed SRC_URI to use mirror:// (thnx mg) *abiword-1.0.4_pre1-r2 (22 Dec 2002) diff --git a/app-office/abiword/abiword-1.0.4.ebuild b/app-office/abiword/abiword-1.0.4.ebuild new file mode 100644 index 000000000000..1bd66b6dca2b --- /dev/null +++ b/app-office/abiword/abiword-1.0.4.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-1.0.4.ebuild,v 1.1 2003/01/26 18:04:29 foser Exp $ + +IUSE="perl nls gnome build spell jpeg xml2" + +S=${WORKDIR}/${P}/abi + +DESCRIPTION="Word processor" +SRC_URI="mirror://sourceforge/abiword/${P}.tar.gz" +HOMEPAGE="http://www.abisource.com" + +KEYWORDS="~x86 ~ppc" +LICENSE="GPL-2" +SLOT="1" + +DEPEND="virtual/x11 + media-libs/libpng + >=dev-libs/libunicode-0.4-r1 + =x11-libs/gtk+-1.2* + jpeg? ( >=media-libs/jpeg-6b-r2 ) + xml2? ( >=dev-libs/libxml2-2.4.10 ) + spell? ( >=app-text/aspell-0.50.2-r1 ) + gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 + >=gnome-extra/gal-0.13-r1 + >=gnome-base/bonobo-1.0.9-r1 ) + perl? ( >=sys-devel/perl-5.6 ) + !app-shells/bash-completion" + +src_compile() { + local myconf + + use gnome \ + && myconf="${myconf} --with-gnome --enable-gnome"; \ + export ABI_OPT_BONOBO=1 + + use perl \ + && myconf="${myconf} --enable-scripting" \ + || myconf="${myconf} --disable-scripting" + + use spell \ + && myconf="${myconf} --with-pspell --disable-static" + + use xml2 \ + && myconf="${myconf} --with-libxml2" + + use jpeg \ + && myconf="${myconf} --with-libjpeg" + + use nls \ + && myconf="${myconf} --enable-bidi" + + ./autogen.sh + + einfo "Ignore above ERROR as it does not cause build to fail." + + CFLAGS="${CFLAGS} `gdk-pixbuf-config --cflags`" + + econf ${myconf} + + make || die +} + +src_install() { + dodir /usr/{bin,lib} + + einstall PERLDEST=${D} + + dosed "s:${D}::g" /usr/bin/AbiWord + + rm -f ${D}/usr/bin/abiword + dosym /usr/bin/AbiWord /usr/bin/abiword + + dodoc BUILD COPYING *.txt, *.TXT + + # Install icon and .desktop for menu entry + use gnome && ( \ + insinto /usr/share/pixmaps + newins ${WORKDIR}/${P}/abidistfiles/icons/abiword_48.png AbiWord.png + insinto /usr/share/gnome/apps/Applications + doins ${FILESDIR}/AbiWord.desktop + ) +} diff --git a/app-office/abiword/files/digest-abiword-1.0.4 b/app-office/abiword/files/digest-abiword-1.0.4 new file mode 100644 index 000000000000..cdcfcbbf3c92 --- /dev/null +++ b/app-office/abiword/files/digest-abiword-1.0.4 @@ -0,0 +1 @@ +MD5 fec2f2770c29afe0d30e653b5d1d40bb abiword-1.0.4.tar.gz 18932393 |