summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Stampflee <owen@gentoo.org>2002-09-24 23:34:41 +0000
committerOwen Stampflee <owen@gentoo.org>2002-09-24 23:34:41 +0000
commitdee0a03c1b057225ad0ad8c8956c61eada9b4cdc (patch)
tree4ee0c8a021f8a05975e768b325e71f0c1e86180b /app-office
parentmasked r2 addresses bug 8299 (diff)
downloadgentoo-2-dee0a03c1b057225ad0ad8c8956c61eada9b4cdc.tar.gz
gentoo-2-dee0a03c1b057225ad0ad8c8956c61eada9b4cdc.tar.bz2
gentoo-2-dee0a03c1b057225ad0ad8c8956c61eada9b4cdc.zip
extended ebuild to include support for ppc
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openoffice-bin/ChangeLog4
-rw-r--r--app-office/openoffice-bin/files/digest-openoffice-bin-1.0.11
-rw-r--r--app-office/openoffice-bin/openoffice-bin-1.0.1.ebuild22
3 files changed, 17 insertions, 10 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog
index f3321a53af00..4d68009b881e 100644
--- a/app-office/openoffice-bin/ChangeLog
+++ b/app-office/openoffice-bin/ChangeLog
@@ -1,8 +1,10 @@
# ChangeLog for app-office/openoffice-bin
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.7 2002/09/15 16:00:42 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.8 2002/09/24 23:34:41 owen Exp $
*openoffice-bin-1.0.1 (15 Sep 2002)
+ 24 Sep 2002; Owen Stampflee <owen@gentoo.org> openoffice-bin-1.0.1.ebuild :
+ Extend ebuild to include support for the PPC version of OpenOffice-bin.
15 Sep 2002; Martin Schlemmer <azarah@gentoo.org> openoffice-bin-1.0.1.ebuild :
New version. Cleanups. Install the Menu shortcuts.
diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.1 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.1
index a8ed9b3402b0..0754c9606185 100644
--- a/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.1
+++ b/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.1
@@ -1 +1,2 @@
+MD5 432cf242c085fb3a3675779b393ed2b4 OOo_1.0.1c_LinuxPPC_installer.tar.gz 64939379
MD5 e03cb9573ff176b47fb2101732104d83 OOo_1.0.1_LinuxIntel_install.tar.gz 74286597
diff --git a/app-office/openoffice-bin/openoffice-bin-1.0.1.ebuild b/app-office/openoffice-bin/openoffice-bin-1.0.1.ebuild
index 22ffa45be7b7..f47f83abbc68 100644
--- a/app-office/openoffice-bin/openoffice-bin-1.0.1.ebuild
+++ b/app-office/openoffice-bin/openoffice-bin-1.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.0.1.ebuild,v 1.2 2002/09/15 18:01:50 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.0.1.ebuild,v 1.3 2002/09/24 23:34:41 owen Exp $
inherit virtualx
@@ -12,10 +12,19 @@ LOC="/opt"
INSTDIR="${LOC}/OpenOffice.org${PV}"
MY_PV="`echo ${PV} | gawk '{ print toupper($1) }'`"
-S="${WORKDIR}/install"
+
+if [ `use ppc` ]; then
+ MY_P="OOo_${MY_PV}c_LinuxPPC_installer"
+ S="${WORKDIR}/${MY_P}"
+else
+ MY_P="OOo_${MY_PV}_LinuxIntel_install"
+ S="${WORKDIR}/install"
+fi;
+
DESCRIPTION="OpenOffice productivity suite"
SRC_URI="x86? ( http://ny1.mirror.openoffice.org/${PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz
- http://sf1.mirror.openoffice.org/${PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz )"
+ http://sf1.mirror.openoffice.org/${PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz )
+ ppc? ( http://ftp.penguinppc.org/projects/openoffice/${MY_PV}/OOo_${MY_PV}c_LinuxPPC_installer.tar.gz )"
HOMEPAGE="http://www.openoffice.org"
DEPEND="virtual/glibc
@@ -27,12 +36,7 @@ DEPEND="virtual/glibc
LICENSE="LGPL-2 | SISSL-1.1"
SLOT="0"
-KEYWORDS="x86 -ppc -sparc -sparc64"
-
-src_unpack() {
-
- unpack OOo_${MY_PV}_LinuxIntel_install.tar.gz
-}
+KEYWORDS="x86 ppc -sparc -sparc64"
src_install() {