diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-06-04 21:57:52 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-06-04 21:57:52 +0000 |
commit | eacf763410af084ceac6b6be5bb2dc0de092d40c (patch) | |
tree | 9dae403ac2aa9060f62e6fb9160e9116ec5923d3 /app-office/abiword | |
parent | README contains basic installation instructions (diff) | |
download | historical-eacf763410af084ceac6b6be5bb2dc0de092d40c.tar.gz historical-eacf763410af084ceac6b6be5bb2dc0de092d40c.tar.bz2 historical-eacf763410af084ceac6b6be5bb2dc0de092d40c.zip |
*** empty log message ***
Diffstat (limited to 'app-office/abiword')
-rw-r--r-- | app-office/abiword/abiword-0.7.14.ebuild | 37 | ||||
-rw-r--r-- | app-office/abiword/files/digest-abiword-0.7.14 | 1 |
2 files changed, 28 insertions, 10 deletions
diff --git a/app-office/abiword/abiword-0.7.14.ebuild b/app-office/abiword/abiword-0.7.14.ebuild index a343d450ed10..cfd64bd42a47 100644 --- a/app-office/abiword/abiword-0.7.14.ebuild +++ b/app-office/abiword/abiword-0.7.14.ebuild @@ -1,37 +1,54 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-0.7.14.ebuild,v 1.1 2001/06/04 10:34:15 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-0.7.14.ebuild,v 1.2 2001/06/04 21:57:52 achim Exp $ -A="abi-${PV}.tar.gz abidistfiles-${PV}.tar.gz expat-${PV}.tar.gz +A="abi-${PV}.tar.gz abidistfiles-${PV}.tar.gz expat-${PV}.tar.gz psiconv-${PV}.tar.gz unixfonts-${PV}.tar.gz wv-${PV}.tar.gz" -S=${WORKDIR}/abi-${PV} +S=${WORKDIR}/abi DESCRIPTION="Framework for creating database applications" SRC_URI="http://www.abisource.com/downloads/Version-${PV}/abi-${PV}.tar.gz http://www.abisource.com/downloads/Version-${PV}/abidistfiles-${PV}.tar.gz http://www.abisource.com/downloads/Version-${PV}/expat-${PV}.tar.gz - http://www.abisource.com/downloads/Version-${PV}/expat-${PV}.tar.gz http://www.abisource.com/downloads/Version-${PV}/psiconv-${PV}.tar.gz http://www.abisource.com/downloads/Version-${PV}/unixfonts-${PV}.tar.gz http://www.abisource.com/downloads/Version-${PV}/wv-${PV}.tar.gz" - + HOMEPAGE="http://www.gnome.org/gnome-office/abiword.shtml/" DEPEND="virtual/glibc >=sys-devel/gcc-2.95.2 - =media-libs/freetype-1.3.1-r2 + =media-libs/freetype-1.3.1-r2 >=media-libs/libpng-1.0.7 >=x11-libs/gtk+-1.2.8 + gnome? ( >=gnome-base/gnome-libs-1.2.10 >=gnome-base/libunicode-0.4 + >=gnome-base/bonobo-1.0.4 >=gnome-base/gal-0.8 ) + spell? ( app-text/pspell-0.11.2 ) virtual/x11" - -src_compile() { - try make prefix=/opt/gnome/ UNIX_CAN_BUILD_STATIC=0 + + if [ "`use gnome`" ] ; then + myconf="ABI_OPT_GNOME=1 ABI_OPT_BONOBO=1 " + fi + if [ "`use spell`" ] ; then + myconf="$myconf ABI_OPT_PSPELL=1" + fi + +src_compile() { + if [ "`use spell`" ] ; then + cd ${S}/src/config + cp abi_defs.mk abi_defs.orig + sed -e "s:-lltdl::" abi_defs.orig > abi_defs.mk + fi + cd ${S} + try make prefix=/opt/gnome/ UNIX_CAN_BUILD_STATIC=0 $myconf OPTIMIZER=\"$CFLAGS\" + } src_install() { - try make prefix=${D}/opt/gnome UNIX_CAN_BUILD_STATIC=0 install + + try make prefix=${D}/opt/gnome UNIX_CAN_BUILD_STATIC=0 $myconf OPTIMIZER=\"$CFLAGS\" install cp ${D}/opt/gnome/AbiSuite/bin/AbiWord AbiWord.orig sed -e "s:${D}::" AbiWord.orig > ${D}/opt/gnome/AbiSuite/bin/AbiWord cd ${D}/opt/gnome/bin diff --git a/app-office/abiword/files/digest-abiword-0.7.14 b/app-office/abiword/files/digest-abiword-0.7.14 index ba15c3e10fdc..937aac2736cd 100644 --- a/app-office/abiword/files/digest-abiword-0.7.14 +++ b/app-office/abiword/files/digest-abiword-0.7.14 @@ -1,5 +1,6 @@ MD5 60902c1142c6a2cc136cef2fcc2ff925 abi-0.7.14.tar.gz MD5 c6585585cd9b3a4832f97bd71fcb81df abidistfiles-0.7.14.tar.gz MD5 1007c612a4a5ff992e7e9a138d1bd8df expat-0.7.14.tar.gz +MD5 5e4eaf05c9cb3da5e1cc97f7e34ef009 psiconv-0.7.14.tar.gz MD5 f8644723b7077a95736d6df24598aef4 unixfonts-0.7.14.tar.gz MD5 3a4b9b91a6620cbbc788e077b06cfb65 wv-0.7.14.tar.gz |