[Lunar-commits] <moonbase> openoffice-bin, openoffice-src, openoffice-src-pl: move them to zdeprecated.

Florin Braescu florin at lunar-linux.org
Sun Oct 16 14:57:38 CEST 2011


commit c6487e7c0298222f31bada7c8dab5682099a3f43
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Oct 16 14:57:38 2011 +0200

    openoffice-bin, openoffice-src, openoffice-src-pl: move them to zdeprecated.
---
 x11-apps/openoffice-bin/BUILD                      |   74 ----------
 x11-apps/openoffice-bin/BUILD.x86_64               |   93 -------------
 x11-apps/openoffice-bin/CONFIGURE                  |    1 -
 x11-apps/openoffice-bin/CONFLICTS                  |    1 -
 x11-apps/openoffice-bin/DEPENDS                    |    3 -
 x11-apps/openoffice-bin/DETAILS                    |   23 ---
 x11-apps/openoffice-bin/DETAILS.x86_64             |   23 ---
 x11-apps/openoffice-bin/POST_REMOVE                |    1 -
 x11-apps/openoffice-bin/PRE_BUILD                  |    5 -
 .../openoffice-bin/profile.d/openoffice-bin.rc     |    5 -
 x11-apps/openoffice-src-pl/BUILD                   |   13 --
 x11-apps/openoffice-src-pl/DEPENDS                 |    1 -
 x11-apps/openoffice-src-pl/DETAILS                 |   21 ---
 x11-apps/openoffice-src-pl/DETAILS.x86_64          |   21 ---
 x11-apps/openoffice-src-pl/POST_INSTALL            |    1 -
 x11-apps/openoffice-src/BUILD                      |  145 --------------------
 x11-apps/openoffice-src/CONFLICTS                  |    1 -
 x11-apps/openoffice-src/DEPENDS                    |  114 ---------------
 x11-apps/openoffice-src/DETAILS                    |   31 ----
 x11-apps/openoffice-src/PRE_BUILD                  |    9 --
 .../openoffice-src/profile.d/openoffice-src.rc     |    4 -
 zdeprecated/openoffice-bin/BUILD                   |   74 ++++++++++
 zdeprecated/openoffice-bin/BUILD.x86_64            |   93 +++++++++++++
 zdeprecated/openoffice-bin/CONFIGURE               |    1 +
 zdeprecated/openoffice-bin/CONFLICTS               |    1 +
 zdeprecated/openoffice-bin/DEPENDS                 |    3 +
 zdeprecated/openoffice-bin/DETAILS                 |   23 +++
 zdeprecated/openoffice-bin/DETAILS.x86_64          |   23 +++
 zdeprecated/openoffice-bin/POST_REMOVE             |    1 +
 zdeprecated/openoffice-bin/PRE_BUILD               |    5 +
 .../openoffice-bin/profile.d/openoffice-bin.rc     |    5 +
 zdeprecated/openoffice-src-pl/BUILD                |   13 ++
 zdeprecated/openoffice-src-pl/DEPENDS              |    1 +
 zdeprecated/openoffice-src-pl/DETAILS              |   21 +++
 zdeprecated/openoffice-src-pl/DETAILS.x86_64       |   21 +++
 zdeprecated/openoffice-src-pl/POST_INSTALL         |    1 +
 zdeprecated/openoffice-src/BUILD                   |  145 ++++++++++++++++++++
 zdeprecated/openoffice-src/CONFLICTS               |    1 +
 zdeprecated/openoffice-src/DEPENDS                 |  114 +++++++++++++++
 zdeprecated/openoffice-src/DETAILS                 |   31 ++++
 zdeprecated/openoffice-src/PRE_BUILD               |    9 ++
 .../openoffice-src/profile.d/openoffice-src.rc     |    4 +
 42 files changed, 590 insertions(+), 590 deletions(-)

diff --git a/x11-apps/openoffice-bin/BUILD b/x11-apps/openoffice-bin/BUILD
deleted file mode 100644
index 3b528867..0000000
--- a/x11-apps/openoffice-bin/BUILD
+++ /dev/null
@@ -1,74 +0,0 @@
-(
-  OO_INSTALL_DIR="${SOURCE_DIRECTORY}/RPMS"
-  OO_DESK_DIR="${SOURCE_DIRECTORY}/desktop-integration/usr"
-  OO_DIR="/opt/lunar/openoffice/openoffice.org3"
-
-  cd $OO_INSTALL_DIR  &&
-
-  if [ "$USE_DESKTOPINTEGRATION" = "y" ] ; then
-
-    mv ${OO_INSTALL_DIR}/desktop-integration ${SOURCE_DIRECTORY} &&
-    cd ${SOURCE_DIRECTORY}/desktop-integration/ &&
-
-    INT_FILE=openoffice.org3.3-freedesktop-menus-3.3-9556.noarch &&
-
-    rpm2cpio $INT_FILE.rpm > $INT_FILE.cpio &&
-    cpio -idm < $INT_FILE.cpio &&
-
-    sedit "s|/etc/openoffice.org3|$OO_DIR|g" ${OO_DESK_DIR}/bin/openoffice.org3 &&
-    sedit "s|/etc/openoffice.org3|$OO_DIR|g" ${OO_DESK_DIR}/bin/openoffice.org3-printeradmin || exit 1
-  fi  &&
-
-  cd $OO_INSTALL_DIR &&
-  rm -rf desktop-integration &&
-
-  # Let the magic happen. Ugh, I hate rpm
-  message "${MESSAGE_COLOR}Unpacking RPMs...${DEFAULT_COLOR}" &&
-  for pack in ${OO_INSTALL_DIR}/*; do
-    rpm2cpio $pack > `basename $pack .rpm`.cpio || exit 1
-  done  &> /dev/null
-
-  # Now, lets get rid of the rpms
-  rm -rf ${OO_INSTALL_DIR}/*.rpm &&
-
-  for pack in ${OO_INSTALL_DIR}/*; do
-    cpio -idm < $pack &> /dev/null || exit 1
-  done &&
-
-  prepare_install  &&
-  message "${MESSAGE_COLOR}Installing OpenOffice ${VERSION}...${DEFAULT_COLOR}"  &&
-  mkdir -p $MODULE_PREFIX/openoffice  &&
-  cp -a "${OO_INSTALL_DIR}/opt/openoffice.org3" /opt/lunar/openoffice/  &&
-  cp -a "${OO_INSTALL_DIR}/opt/openoffice.org"  /opt/lunar/openoffice   &&
-
-  #Added this force symlink creation at sofar's request
-  cd /usr/bin &&
-  ln -sf ${OO_DIR}/program/soffice soffice &&
-  ln -sf ${OO_DIR}/program/scalc   scalc   &&
-  ln -sf ${OO_DIR}/program/swriter swriter &&
-
-  if [ "$USE_DESKTOPINTEGRATION" = "y" ] ; then
-    sedit 's:/opt/:/opt/lunar/openoffice/:g' \
-          ${OO_DESK_DIR}/bin/openoffice.org3 &&
-    install -m755 ${OO_DESK_DIR}/bin/openoffice.org3 \
-                  ${OO_DESK_DIR}/bin/openoffice.org3-printeradmin /usr/bin/ &&
-
-    # Install icons for the .desktop files
-    mkdir -p -m0755 /usr/share/icons/{gnome,hicolor} &&
-    cd ${OO_DESK_DIR}/share/icons &&
-    cp -r gnome/*x* /usr/share/icons/gnome &&
-    cp -r hicolor/*x* /usr/share/icons/hicolor &&
-    gtk-update-icon-cache --force /usr/share/icons/hicolor &&
-
-    install -m644 "${OO_DESK_DIR}/share/mime/packages/openoffice.org.xml" /usr/share/mime/packages/ &&
-    update-mime-database /usr/share/mime/ &> /dev/null &&
-
-    DESKTOP_FILES="base calc draw impress math printeradmin writer" &&
-
-    for FILE in ${DESKTOP_FILES} ; do
-      ln -s ${OO_DIR}/share/xdg/${FILE}.desktop \
-        /usr/share/applications/${FILE}.desktop || exit 1
-    done
-  fi || exit 1
-
-) > $C_FIFO 2>&1
diff --git a/x11-apps/openoffice-bin/BUILD.x86_64 b/x11-apps/openoffice-bin/BUILD.x86_64
deleted file mode 100644
index f6215be..0000000
--- a/x11-apps/openoffice-bin/BUILD.x86_64
+++ /dev/null
@@ -1,93 +0,0 @@
-(
-  OO_INSTALL_DIR="${SOURCE_DIRECTORY}/RPMS"
-  OO_DESK_DIR="${SOURCE_DIRECTORY}/desktop-integration/usr"
-  OO_DIR="/opt/lunar/openoffice"
-
-  cd $OO_INSTALL_DIR  &&
-
-  if [ "$USE_DESKTOPINTEGRATION" = "y" ] ; then
-
-    mv ${OO_INSTALL_DIR}/desktop-integration ${SOURCE_DIRECTORY} &&
-    cd ${SOURCE_DIRECTORY}/desktop-integration/ &&
-
-    INT_FILE=openoffice.org3.3-freedesktop-menus-3.3-9556.noarch &&
-
-    rpm2cpio $INT_FILE.rpm > $INT_FILE.cpio &&
-    cpio -idm < $INT_FILE.cpio &&
-
-    sedit "s|/etc/openoffice.org3|$OO_DIR|g" ${OO_DESK_DIR}/bin/openoffice.org3 &&
-    sedit "s|/etc/openoffice.org3|$OO_DIR|g" ${OO_DESK_DIR}/bin/openoffice.org3-printeradmin || exit 1
-  fi  &&
-
-  cd $OO_INSTALL_DIR &&
-  rm -rf desktop-integration &&
-
-  # not sure what this rpm is for, but its not there in 32bit OO, so I removed it
-  rm -rf userland &&
-
-  # Let the magic happen. Ugh, I hate rpm
-  message "${MESSAGE_COLOR}Unpacking RPMs...${DEFAULT_COLOR}" &&
-  for pack in ${OO_INSTALL_DIR}/*; do
-    rpm2cpio $pack > `basename $pack .rpm`.cpio || exit 1
-  done  &> /dev/null
-
-  # Now, lets get rid of the rpms
-  rm -rf ${OO_INSTALL_DIR}/*.rpm &&
-
-  for pack in ${OO_INSTALL_DIR}/*; do
-    cpio -idm < $pack &> /dev/null || exit 1
-  done &&
-
-  prepare_install  &&
-  message "${MESSAGE_COLOR}Installing OpenOffice ${VERSION}...${DEFAULT_COLOR}"  &&
-  mkdir -p $MODULE_PREFIX/openoffice  &&
-  chown -R root:root "${OO_INSTALL_DIR}/opt" &&
-  # symlinks are not copied correctly
-  rm "${OO_INSTALL_DIR}/opt/openoffice.org3/basis-link" &&
-  rm "${OO_INSTALL_DIR}/opt/openoffice.org/ure/bin/uno" &&
-  rm "${OO_INSTALL_DIR}/opt/openoffice.org/ure/bin/regcomp" &&
-  rm "${OO_INSTALL_DIR}/opt/openoffice.org/basis3.2/program/libicuuc.so.40" &&
-  rm "${OO_INSTALL_DIR}/opt/openoffice.org/basis3.2/program/libicui18n.so.40" &&
-  cp -a "${OO_INSTALL_DIR}/opt/openoffice.org3" /opt/lunar/openoffice/  &&
-  cp -a "${OO_INSTALL_DIR}/opt/openoffice.org"  /opt/lunar/openoffice   &&
-  # create the symlinks correctly
-  cd /opt/lunar/openoffice &&
-  ln -sf openoffice.org/basis3.2 basis-link &&
-  cd /opt/lunar/openoffice/openoffice.org/ure/bin &&
-  ln -sf startup.sh uno &&
-  ln -sf startup.sh regcomp &&
-  cd /opt/lunar/openoffice/openoffice.org/basis3.2/program &&
-  ln -sf libicuuc.so.40.1 libicuuc.so.40 &&
-  ln -sf libicui18n.so.40.1 libicui18n.so.40 &&
-
-  #Added this force symlink creation at sofar's request
-  cd /usr/bin &&
-  ln -sf ${OO_DIR}/program/soffice soffice &&
-  ln -sf ${OO_DIR}/program/scalc   scalc   &&
-  ln -sf ${OO_DIR}/program/swriter swriter &&
-
-  if [ "$USE_DESKTOPINTEGRATION" = "y" ] ; then
-    sedit 's:/opt/:/opt/lunar/openoffice/:g' \
-          ${OO_DESK_DIR}/bin/openoffice.org3 &&
-    install -m755 ${OO_DESK_DIR}/bin/openoffice.org3 \
-                  ${OO_DESK_DIR}/bin/openoffice.org3-printeradmin /usr/bin/ &&
-
-    # Install icons for the .desktop files
-    mkdir -p -m0755 /usr/share/icons/{gnome,hicolor} &&
-    cd ${OO_DESK_DIR}/share/icons &&
-    cp -r gnome/*x* /usr/share/icons/gnome &&
-    cp -r hicolor/*x* /usr/share/icons/hicolor &&
-    gtk-update-icon-cache --force /usr/share/icons/hicolor &&
-
-    install -m644 "${OO_DESK_DIR}/share/mime/packages/openoffice.org.xml" /usr/share/mime/packages/ &&
-    update-mime-database /usr/share/mime/ &> /dev/null &&
-
-    DESKTOP_FILES="base calc draw impress math printeradmin writer" &&
-
-    for FILE in ${DESKTOP_FILES} ; do
-      ln -s ${OO_DIR}/share/xdg/${FILE}.desktop \
-        /usr/share/applications/${FILE}.desktop || exit 1
-    done
-  fi || exit 1
-
-) > $C_FIFO 2>&1
diff --git a/x11-apps/openoffice-bin/CONFIGURE b/x11-apps/openoffice-bin/CONFIGURE
deleted file mode 100644
index b3dff22..0000000
--- a/x11-apps/openoffice-bin/CONFIGURE
+++ /dev/null
@@ -1 +0,0 @@
-mquery USE_DESKTOPINTEGRATION "Do you want openoffice integrated in the application menu of your DE?" y
diff --git a/x11-apps/openoffice-bin/CONFLICTS b/x11-apps/openoffice-bin/CONFLICTS
deleted file mode 100644
index e4a219e..0000000
--- a/x11-apps/openoffice-bin/CONFLICTS
+++ /dev/null
@@ -1 +0,0 @@
-conflicts openoffice-src
diff --git a/x11-apps/openoffice-bin/DEPENDS b/x11-apps/openoffice-bin/DEPENDS
deleted file mode 100644
index 06fab9b..0000000
--- a/x11-apps/openoffice-bin/DEPENDS
+++ /dev/null
@@ -1,3 +0,0 @@
-depends rpmunpack
-depends cpio
-depends hicolor-icon-theme
diff --git a/x11-apps/openoffice-bin/DETAILS b/x11-apps/openoffice-bin/DETAILS
deleted file mode 100644
index 3bd7c00..0000000
--- a/x11-apps/openoffice-bin/DETAILS
+++ /dev/null
@@ -1,23 +0,0 @@
-          MODULE=openoffice-bin
-         VERSION=3.3.0
-          SOURCE=OOo_${VERSION}_Linux_x86_install-rpm_en-US.tar.gz
-SOURCE_DIRECTORY=${BUILD_DIRECTORY}/OOO330_m20_native_packed-1_en-US.9567
-   SOURCE_URL[0]=http://ftp.ussg.iu.edu/openoffice/stable/$VERSION
-   SOURCE_URL[1]=http://mirrors.sunsite.dk/openoffice/stable/$VERSION
-   SOURCE_URL[2]=http://niihau.student.utwente.nl/openoffice/stable/$VERSION
-   SOURCE_URL[3]=ftp://ftp.funet.fi/pub/mirrors/openoffice.org/stable/$VERSION
-      SOURCE_VFY=sha1:78ec29780356606da1cdcd49e46c46902c179aa6
-        WEB_SITE=http://www.openoffice.org
-         ENTERED=20020704
-         UPDATED=20110212
-           SHORT="The open office suite for unix"
-       LDD_CHECK=off
-         ARCHIVE=off
-
-cat << EOF
-OpenOffice is the open source alternative to a full office suite. Derived
-from SUN's staroffice 5.2, this group of developers started to create
-a GPL'd version of staroffice. It includes all you need for the desktop,
-including word processor, spreadsheet application, presentation maker
-and more, and can read and write almost any Microsoft office file.
-EOF
diff --git a/x11-apps/openoffice-bin/DETAILS.x86_64 b/x11-apps/openoffice-bin/DETAILS.x86_64
deleted file mode 100644
index b6617ed..0000000
--- a/x11-apps/openoffice-bin/DETAILS.x86_64
+++ /dev/null
@@ -1,23 +0,0 @@
-          MODULE=openoffice-bin
-         VERSION=3.3.0
-          SOURCE=OOo_${VERSION}_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
-SOURCE_DIRECTORY=${BUILD_DIRECTORY}/OOO330_m20_native_packed-1_en-US.9567
-   SOURCE_URL[0]=http://ftp.ussg.iu.edu/openoffice/stable/$VERSION
-   SOURCE_URL[1]=http://mirrors.sunsite.dk/openoffice/stable/$VERSION
-   SOURCE_URL[2]=http://niihau.student.utwente.nl/openoffice/stable/$VERSION
-   SOURCE_URL[3]=ftp://ftp.funet.fi/pub/mirrors/openoffice.org/stable/$VERSION
-      SOURCE_VFY=sha1:a21fc7de50c2ab42a5fb743f588f47538f65baa3
-        WEB_SITE=http://www.openoffice.org
-         ENTERED=20020704
-         UPDATED=20110212
-           SHORT="The open office suite for unix"
-       LDD_CHECK=off
-         ARCHIVE=off
-
-cat << EOF
-OpenOffice is the open source alternative to a full office suite. Derived
-from SUN's staroffice 5.2, this group of developers started to create
-a GPL'd version of staroffice. It includes all you need for the desktop,
-including word processor, spreadsheet application, presentation maker
-and more, and can read and write almost any Microsoft office file.
-EOF
diff --git a/x11-apps/openoffice-bin/POST_REMOVE b/x11-apps/openoffice-bin/POST_REMOVE
deleted file mode 100644
index e4f481b..0000000
--- a/x11-apps/openoffice-bin/POST_REMOVE
+++ /dev/null
@@ -1 +0,0 @@
-rm -rf /opt/lunar/openoffice
diff --git a/x11-apps/openoffice-bin/PRE_BUILD b/x11-apps/openoffice-bin/PRE_BUILD
deleted file mode 100644
index e0fdf98..0000000
--- a/x11-apps/openoffice-bin/PRE_BUILD
+++ /dev/null
@@ -1,5 +0,0 @@
-desktopfiles="base calc draw impress math printeradmin writer"  &&
-for i in $desktopfiles; do
-  rm -f /usr/share/applications/$i.desktop
-done   &&
-default_pre_build
diff --git a/x11-apps/openoffice-bin/profile.d/openoffice-bin.rc b/x11-apps/openoffice-bin/profile.d/openoffice-bin.rc
deleted file mode 100644
index b6dd4e0..0000000
--- a/x11-apps/openoffice-bin/profile.d/openoffice-bin.rc
+++ /dev/null
@@ -1,5 +0,0 @@
-# openoffice-bin specific stuff
-
-[ -d /opt/lunar/openoffice/openoffice.org3/program ] &&
-    PATH="$PATH:/opt/lunar/openoffice/openoffice.org3/program"
-
diff --git a/x11-apps/openoffice-src-pl/BUILD b/x11-apps/openoffice-src-pl/BUILD
deleted file mode 100644
index eb69e44..0000000
--- a/x11-apps/openoffice-src-pl/BUILD
+++ /dev/null
@@ -1,13 +0,0 @@
-(
-
-  for file in `ls *.rpm`; do rpmunpack $file; done &&
-  rm -f *.rpm &&
-  gunzip *.gz &&
-  for file in `ls *.cpio`; do cpio -idvI $file; done &&
-  rm -f *.cpio &&
-  prepare_install &&
-  cp -a opt/* /opt/lunar/openoffice-src &&
-  install -m644 $SOURCE_CACHE/$SOURCE2 /opt/lunar/openoffice-src/openoffice.org3/share/extension/install/dict-pl.oxt &&
-  rm -f $SOURCE_CACHE/$SOURCE2
-
-) > $C_FIFO 2>&1
diff --git a/x11-apps/openoffice-src-pl/DEPENDS b/x11-apps/openoffice-src-pl/DEPENDS
deleted file mode 100644
index 1ddf4ff..0000000
--- a/x11-apps/openoffice-src-pl/DEPENDS
+++ /dev/null
@@ -1 +0,0 @@
-depends openoffice-src
diff --git a/x11-apps/openoffice-src-pl/DETAILS b/x11-apps/openoffice-src-pl/DETAILS
deleted file mode 100644
index 664fdbb..0000000
--- a/x11-apps/openoffice-src-pl/DETAILS
+++ /dev/null
@@ -1,21 +0,0 @@
-          MODULE=openoffice-src-pl
-         VERSION=3.2.1
-         RELEASE=9502
-       MILESTONE=m18
-        LANGUAGE=pl
-          SOURCE=OOo_${VERSION}_Linux_x86_langpack-rpm_${LANGUAGE}.tar.gz
-         SOURCE2=pl-dict.oxt
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/OOO320_${MILESTONE}_native_packed-1_${LANGUAGE}.${RELEASE}/RPMS
-      SOURCE_URL=http://ftp.gwdg.de/pub/openoffice/localized/$LANGUAGE/$VERSION
-     SOURCE2_URL=http://extensions.services.openoffice.org/e-files/806/4
-      SOURCE_VFY=sha1:6be5bf05cf65ba4f89f0965885f53af92a288b10
-     SOURCE2_VFY=sha1:d5704efc735f5492284e8b9cd2ea717a700033c3
-        WEB_SITE=http://www.openoffice.org
-         ENTERED=20080706
-         UPDATED=20100619
-           SHORT="OpenOffice.org Office - Polish localization"
-cat << EOF
-OpenOffice.org Office Suite - Polish localization pack for:
-* user interface,
-* help documentation,
-EOF
diff --git a/x11-apps/openoffice-src-pl/DETAILS.x86_64 b/x11-apps/openoffice-src-pl/DETAILS.x86_64
deleted file mode 100644
index 158c145..0000000
--- a/x11-apps/openoffice-src-pl/DETAILS.x86_64
+++ /dev/null
@@ -1,21 +0,0 @@
-          MODULE=openoffice-src-pl
-         VERSION=3.2.1
-         RELEASE=9502
-       MILESTONE=m18
-        LANGUAGE=pl
-          SOURCE=OOo_${VERSION}_Linux_x86-64_langpack-rpm_${LANGUAGE}.tar.gz
-         SOURCE2=pl-dict.oxt
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/OOO320_${MILESTONE}_native_packed-1_${LANGUAGE}.${RELEASE}/RPMS
-      SOURCE_URL=http://ftp.gwdg.de/pub/openoffice/localized/$LANGUAGE/$VERSION
-     SOURCE2_URL=http://extensions.services.openoffice.org/e-files/806/4
-      SOURCE_VFY=sha1:2ee1b863f95affe93d3cbeff1bbd08da0b8424e7
-     SOURCE2_VFY=sha1:d5704efc735f5492284e8b9cd2ea717a700033c3
-        WEB_SITE=http://www.openoffice.org
-         ENTERED=20080706
-         UPDATED=20100619
-           SHORT="OpenOffice.org Office - Polish localization"
-cat << EOF
-OpenOffice.org Office Suite - Polish localization pack for:
-* user interface,
-* help documentation,
-EOF
diff --git a/x11-apps/openoffice-src-pl/POST_INSTALL b/x11-apps/openoffice-src-pl/POST_INSTALL
deleted file mode 100644
index 0582c82..0000000
--- a/x11-apps/openoffice-src-pl/POST_INSTALL
+++ /dev/null
@@ -1 +0,0 @@
-rm -rf $BUILD_DIRECTORY/OOO3*
diff --git a/x11-apps/openoffice-src/BUILD b/x11-apps/openoffice-src/BUILD
deleted file mode 100644
index cc78a30..0000000
--- a/x11-apps/openoffice-src/BUILD
+++ /dev/null
@@ -1,145 +0,0 @@
-(
-
-# To fix:dtint.hxx:41:8: error: using typedef-name 'Display' after 'struct'
-# Take from http://bugs.gentoo.org/344993
-  sedit "s:\#ifndef _XLIB_H_:\#if \!defined(_XLIB_H_) \&\& \!defined(_X11_XLIB_H_):" vcl/unx/inc/dtint.hxx &&
-
-# So it will compile with gcc-4.5
-  sedit "s:__ <= 4:__ <= 5:g" cppu/inc/uno/lbnames.h&&
-
-# This sedit is needed for the configure to complete with current db.
-  sedit "s:seq 1 7:seq 1 8:" configure.in &&
-
-  cd $SOURCE_DIRECTORY &&
-  for file in `find . -name \*.patch -type f -exec grep -l '
$' {} \;`; do sedit 's/
$//' $file; done &&
-  cd apache-commons/download &&
-  tar -xzpf commons-codec-1.3-src.tar.gz &&
-  tar -xzpf commons-logging-1.1.1-src.tar.gz &&
-  cd - &&
-  for file in `find . -name build.xml -type f -exec grep -l '
$' {} \;`; do sedit 's/
$//' $file; done &&
-  cd apache-commons/download &&
-  tar -czf commons-codec-1.3-src.tar.gz commons-codec-1.3 &&
-  tar -czf commons-logging-1.1.1-src.tar.gz commons-logging-1.1.1-src &&
-  rm -rf commons-codec-1.3 commons-logging-1.1.1-src &&
-  cd - &&
-
-  . /etc/profile.d/pkgconfig.rc &&
-
-  OO_DIR="/opt/lunar/openoffice-src"
-
-  RM_DESK_TOP="math extension printeradmin base calc draw impress writer"
-
-  # There are symlinks left over if openoffice-bin is installed and
-  # they do not get removed and the BUILD will tank near the end of
-  # the compile, this takes care of that.
-  for FILE in ${RM_DESK_TOP} ; do
-      rm -f /usr/share/applications/${FILE}.desktop || exit 1
-    done &&
-
-  sedit "/^ARCH_FLAGS\*=/d" solenv/inc/unxlngi{4,6}.mk &&
-  ARCH_FLAGS=$CXXFLAGS
-
-  # All of the options have been carefully chosen. Don't edit them unless you
-  # really know what you're doing
-
-  OPTS+=" --prefix=$OO_DIR --enable-dbus --disable-dbgutil --disable-static-gtk \
-              --disable-fontooo --disable-odk --disable-debug --enable-opengl \
-              --disable-mathmldtd --enable-cairo --with-mozilla-version=1.7.5 \
-              --enable-mozilla --enable-binfilter --enable-xrender-link       \
-              --without-ppds --without-afms --with-system-mozilla=mozilla  \
-              --with-system-stdlibs --with-system-zlib --enable-minimizer     \
-              --with-system-jpeg --with-system-expat --with-system-freetype   \
-              --with-system-libxml --with-system-db --disable-symbols --enable-Xaw \
-              --with-system-xrender-headers --with-epm=internal --enable-pdfimport   \
-              --with-use-shell=bash --with-x --with-package-format=native     \
-              --with-build-version=LunarLinux --enable-presenter-console \
-              --enable-wiki-publisher --enable-ogltrans --enable-report-builder \
-              --with-system-cairo --with-lang=en --with-dict=ENUS" &&
-
-  if in_depends $MODULE kdepim4 ; then
-    . /etc/profile.d/qt4.rc &&
-    . /etc/profile.d/kde4.rc &&
-    QT4DIR=$QTDIR &&
-    QT4INC=$QTDIR/include/qt4 &&
-    QT4LIB=$QTDIR/lib/qt4 &&
-    KDE4DIR=$KDE4_INSTALL_DIR &&
-    export QT4DIR  &&
-    export QT4INC  &&
-    export QT4LIB  &&
-    export KDE4DIR 
-  fi &&
-
-  if module_installed sun-jdk ; then
-    OPTS+=" --with-jdk-home=$JAVA_HOME";
-   else
-    if  module_installed j2sdk ; then
-    OPTS+=" --with-jdk-home=$JAVA_HOME";
-    fi
-  fi &&
-
-  # As long as OOo-src does not compile against nss it needs its own mozilla
-  # tarball (and it also compiles its own mozilla)
-  mkdir -p $SOURCE_DIRECTORY/moz/download &&
-  cp $SOURCE_CACHE/$SOURCE2 $SOURCE_DIRECTORY/moz/download/ &&
-  autoreconf &&
-  default_config &&
-
-  # OOo might fail if those are set to some strange values
-  umask 0022 &&
-  unset LANG LC_ALL &&
-
-  cd $SOURCE_DIRECTORY &&
-
-  if [ "`arch`" == "x86_64" ] ; then 
-      ./bootstrap &&
-      sedit "s/-lxml2/-lxml2\ -lexpat/g" LinuxX86-64Env.Set.sh &&
-      source LinuxX86-64Env.Set.sh
-    else
-      ./bootstrap &&
-      sedit "s/-lxml2/-lxml2\ -lexpat/g" LinuxX86Env.Set.sh &&
-      source LinuxX86Env.Set.sh
-  fi &&
-
-  dmake &&
-
-  prepare_install &&
-
-  # make install is not reliable
-  # FIXME: How do we detect this directory in an elegant way?
-  if [ "`arch`" == "x86_64" ] ; then
-     cd instsetoo_native/unxlngx6.pro/OpenOffice/native/install/en-US/linux-2.6-x86_64/buildroot/opt
-    else 
-     cd instsetoo_native/unxlngi6.pro/OpenOffice/native/install/en-US/linux-2.6-intel/buildroot/opt 
-  fi &&
-
-  rm -rf $OO_DIR &&
-  mkdir -p $OO_DIR &&
-  cp -rv openoffice.org* $OO_DIR &&
-
-  # Install icons for the .desktop files
-  mkdir -p -m0755 /usr/share/icons &&
-  cd $SOURCE_DIRECTORY/sysui/desktop/icons &&
-  (find . -name CVS -type d -exec rm -rf {} \; &> /dev/null || true) &&
-  cp -rv locolor /usr/share/icons &&
-  cp -rv hicolor /usr/share/icons &&
-  gtk-update-icon-cache --force /usr/share/icons/hicolor &&
-
-  # Desktop integration
-  mkdir -p -m0755 /usr/share/applications &&
-  cd $OO_DIR/openoffice.org3/share/xdg &&
-  rm -f qstart.desktop &&
-
-  for file in *.desktop ; do
-    sedit '/Exec/d' $file;
-    echo "Exec=$OO_DIR/openoffice.org3/program/s`echo $file | sed 's/.desktop//'`" >> $file;
-    sedit '/Icon/d' $file;
-    echo "Icon=`echo ${file}.png | sed 's/.desktop//'`" >> $file;
-    install -m644 $file /usr/share/applications;
-  done &&
-
-  sedit 's/sprinteradmin$/spadmin/' printeradmin.desktop &&
-  install -m644 printeradmin.desktop /usr/share/applications &&
-
-  update-desktop-database
-
-) > $C_FIFO 2>&1
diff --git a/x11-apps/openoffice-src/CONFLICTS b/x11-apps/openoffice-src/CONFLICTS
deleted file mode 100644
index 4f3fd28..0000000
--- a/x11-apps/openoffice-src/CONFLICTS
+++ /dev/null
@@ -1 +0,0 @@
-conflicts openoffice-bin
diff --git a/x11-apps/openoffice-src/DEPENDS b/x11-apps/openoffice-src/DEPENDS
deleted file mode 100644
index 1060c81..0000000
--- a/x11-apps/openoffice-src/DEPENDS
+++ /dev/null
@@ -1,114 +0,0 @@
-depends %JAVA_SDK
-depends apache-ant
-depends xulrunner
-depends libIDL
-depends XML-Parser
-depends libxml2
-depends gtk+-2
-depends Archive-Zip
-depends Compress-Zlib
-depends unzip
-depends zip
-depends which
-depends desktop-file-utils
-depends hicolor-icon-theme
-depends IO-Compress-Zlib
-depends gperf
-depends %JPEG
-depends expat
-
-
-optional_depends "kdepim4"           \
-                 "--enable-kde4"     \
-                 "--disable-kde4"    \
-                 "for Qt4/KDE4 vclplug support"
-
-optional_depends "libxslt"                  \
-                 "--with-system-libxslt"    \
-                 "--without-system-libxslt" \
-                 "For xslt support"
-
-optional_depends "%JAVA_SDK"      \
-                 "--with-java"    \
-                 "--without-java" \
-                 "For java components, applets, XML filters support"
-
-optional_depends "openssl"                  \
-                 "--with-system-openssl"    \
-                 "--without-system-openssl" \
-                 "For openssl support"
-
-optional_depends "libwpd"                  \
-                 "--with-system-libwpd"    \
-                 "--without-system-libwpd" \
-                 "For WordPerfect support"
-
-optional_depends "icu4c"                  \
-                 "--with-system-icu"    \
-                 "--without-system-icu" \
-                 "For icu support"
-
-optional_depends "boost"                  \
-                 "--with-system-boost"    \
-                 "--without-system-boost" \
-                 "For boost support"
-
-optional_depends "cups"                                   \
-                 "--enable-cups"                          \
-                 "--disable-cups"                         \
-                 "enable the OpenOffice printing backend"
-
-optional_depends "curl"                                    \
-                 "--with-system-curl"                      \
-                 "--without-system-curl"                   \
-                 "to link against the system cURL library"
-
-optional_depends "neon"                             \
-                 "--enable-neon --with-system-neon" \
-                 "--disable-neon"                   \
-                 "for webdav support"
-
-optional_depends "openldap"        \
-                 "--with-openldap" \
-                 "--disable-ldap"  \
-                 "for LDAP support"
-
-optional_depends "Python"                   \
-                 "--with-system-python"     \
-                 "--without-system-python"  \
-                 "for native Python support"
-
-optional_depends "evolution-data-server"            \
-                 "--enable-evolution2"              \
-                 "--disable-evolution2"             \
-                 "for Evolution addressbook support"
-
-optional_depends "GConf"                \
-                 "--enable-gconf"       \
-                 "--disable-gconf"      \
-                 "for GConf integration"
-
-optional_depends "gnome-vfs"                             \
-                 "--enable-gnome-vfs --enable-lockdown --disable-gio"   \
-                 "--disable-gnome-vfs --disable-lockdown --enable-gio" \
-                 "for GNOME-vfs integration"
-
-optional_depends "Linux-PAM"            \
-                 "--enable-pam-link"    \
-                 "--disable-pam"        \
-                 "for Linux-PAM support"
-
-optional_depends "vigra"                   \
-                 "--with-system-vigra"     \
-                 "--without-system-vigra"  \
-                 "For generic algorithm support"
-
-optional_depends "hunspell"                  \
-                 "--with-system-hunspell"    \
-                 "--without-system-hunspell" \
-                 "for spell checking support"
-
-optional_depends "sane-backends"                \
-                 "--with-system-sane-header"    \
-                 "--without-system-sane-header" \
-                 "for scanner support"
diff --git a/x11-apps/openoffice-src/DETAILS b/x11-apps/openoffice-src/DETAILS
deleted file mode 100644
index 9ed829a..0000000
--- a/x11-apps/openoffice-src/DETAILS
+++ /dev/null
@@ -1,31 +0,0 @@
-          MODULE=openoffice-src
-         VERSION=3.2.1
-          SOURCE=OOo_${VERSION}_src_core.tar.bz2
-         SOURCE2=mozilla-source-1.7.5.tar.gz
-         SOURCE3=OOo_${VERSION}_src_l10n.tar.bz2
-         SOURCE4=OOo_${VERSION}_src_system.tar.bz2
-         SOURCE5=OOo_${VERSION}_src_extensions.tar.bz2
-         SOURCE6=OOo_${VERSION}_src_binfilter.tar.bz2
-         SOURCE7=OOo_3.2.0_src_testautomation.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/OOO320_m19
-      SOURCE_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
-     SOURCE2_URL=ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/
-     SOURCE3_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
-     SOURCE4_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
-     SOURCE5_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
-     SOURCE6_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
-     SOURCE7_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/3.2.0/
-      SOURCE_VFY=sha1:50416998ecca06118dbfb7ca8b1ab348cd9419c3
-     SOURCE2_VFY=sha1:bb2a89b95d7626a63a3787208e0abb99ea595d24
-     SOURCE3_VFY=sha1:700bbc2ea378c866855512681369e67b21a03417
-     SOURCE4_VFY=sha1:a7ac0bf3806ffb1ee3fd05b71e9e6b1a7bf577b1
-     SOURCE5_VFY=sha1:e0cd094a38973f9314e775ece03e6d7315607733
-     SOURCE6_VFY=sha1:120dcb4c080423eb1135c582e8d1251b67585a25
-     SOURCE7_VFY=sha1:2ceb738b76f70feb4b4459308180dd65fcedf7e5
-        WEB_SITE=http://www.openoffice.org
-         ENTERED=20030805
-         UPDATED=20100604
-           SHORT="OpenOffice.org Office Suite"
-cat << EOF
-OpenOffice.org Office Suite
-EOF
diff --git a/x11-apps/openoffice-src/PRE_BUILD b/x11-apps/openoffice-src/PRE_BUILD
deleted file mode 100644
index 044cc2a..0000000
--- a/x11-apps/openoffice-src/PRE_BUILD
+++ /dev/null
@@ -1,9 +0,0 @@
-default_pre_build &&
-
-cd $SOURCE_DIRECTORY &&
-
-tar xf $SOURCE_CACHE/$SOURCE3 --strip-components=1 &&
-tar xf $SOURCE_CACHE/$SOURCE4 --strip-components=1 &&
-tar xf $SOURCE_CACHE/$SOURCE6 --strip-components=1 &&
-tar xf $SOURCE_CACHE/$SOURCE5 --strip-components=1 &&
-tar xf $SOURCE_CACHE/$SOURCE7 --strip-components=1
diff --git a/x11-apps/openoffice-src/profile.d/openoffice-src.rc b/x11-apps/openoffice-src/profile.d/openoffice-src.rc
deleted file mode 100644
index ca1cc0e..0000000
--- a/x11-apps/openoffice-src/profile.d/openoffice-src.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-# openoffice-src specific stuff
-
-[ -d /opt/lunar/openoffice-src/program ] &&
-    PATH="$PATH:/opt/lunar/openoffice-src/program"
diff --git a/zdeprecated/openoffice-bin/BUILD b/zdeprecated/openoffice-bin/BUILD
new file mode 100644
index 0000000..3b528867
--- /dev/null
+++ b/zdeprecated/openoffice-bin/BUILD
@@ -0,0 +1,74 @@
+(
+  OO_INSTALL_DIR="${SOURCE_DIRECTORY}/RPMS"
+  OO_DESK_DIR="${SOURCE_DIRECTORY}/desktop-integration/usr"
+  OO_DIR="/opt/lunar/openoffice/openoffice.org3"
+
+  cd $OO_INSTALL_DIR  &&
+
+  if [ "$USE_DESKTOPINTEGRATION" = "y" ] ; then
+
+    mv ${OO_INSTALL_DIR}/desktop-integration ${SOURCE_DIRECTORY} &&
+    cd ${SOURCE_DIRECTORY}/desktop-integration/ &&
+
+    INT_FILE=openoffice.org3.3-freedesktop-menus-3.3-9556.noarch &&
+
+    rpm2cpio $INT_FILE.rpm > $INT_FILE.cpio &&
+    cpio -idm < $INT_FILE.cpio &&
+
+    sedit "s|/etc/openoffice.org3|$OO_DIR|g" ${OO_DESK_DIR}/bin/openoffice.org3 &&
+    sedit "s|/etc/openoffice.org3|$OO_DIR|g" ${OO_DESK_DIR}/bin/openoffice.org3-printeradmin || exit 1
+  fi  &&
+
+  cd $OO_INSTALL_DIR &&
+  rm -rf desktop-integration &&
+
+  # Let the magic happen. Ugh, I hate rpm
+  message "${MESSAGE_COLOR}Unpacking RPMs...${DEFAULT_COLOR}" &&
+  for pack in ${OO_INSTALL_DIR}/*; do
+    rpm2cpio $pack > `basename $pack .rpm`.cpio || exit 1
+  done  &> /dev/null
+
+  # Now, lets get rid of the rpms
+  rm -rf ${OO_INSTALL_DIR}/*.rpm &&
+
+  for pack in ${OO_INSTALL_DIR}/*; do
+    cpio -idm < $pack &> /dev/null || exit 1
+  done &&
+
+  prepare_install  &&
+  message "${MESSAGE_COLOR}Installing OpenOffice ${VERSION}...${DEFAULT_COLOR}"  &&
+  mkdir -p $MODULE_PREFIX/openoffice  &&
+  cp -a "${OO_INSTALL_DIR}/opt/openoffice.org3" /opt/lunar/openoffice/  &&
+  cp -a "${OO_INSTALL_DIR}/opt/openoffice.org"  /opt/lunar/openoffice   &&
+
+  #Added this force symlink creation at sofar's request
+  cd /usr/bin &&
+  ln -sf ${OO_DIR}/program/soffice soffice &&
+  ln -sf ${OO_DIR}/program/scalc   scalc   &&
+  ln -sf ${OO_DIR}/program/swriter swriter &&
+
+  if [ "$USE_DESKTOPINTEGRATION" = "y" ] ; then
+    sedit 's:/opt/:/opt/lunar/openoffice/:g' \
+          ${OO_DESK_DIR}/bin/openoffice.org3 &&
+    install -m755 ${OO_DESK_DIR}/bin/openoffice.org3 \
+                  ${OO_DESK_DIR}/bin/openoffice.org3-printeradmin /usr/bin/ &&
+
+    # Install icons for the .desktop files
+    mkdir -p -m0755 /usr/share/icons/{gnome,hicolor} &&
+    cd ${OO_DESK_DIR}/share/icons &&
+    cp -r gnome/*x* /usr/share/icons/gnome &&
+    cp -r hicolor/*x* /usr/share/icons/hicolor &&
+    gtk-update-icon-cache --force /usr/share/icons/hicolor &&
+
+    install -m644 "${OO_DESK_DIR}/share/mime/packages/openoffice.org.xml" /usr/share/mime/packages/ &&
+    update-mime-database /usr/share/mime/ &> /dev/null &&
+
+    DESKTOP_FILES="base calc draw impress math printeradmin writer" &&
+
+    for FILE in ${DESKTOP_FILES} ; do
+      ln -s ${OO_DIR}/share/xdg/${FILE}.desktop \
+        /usr/share/applications/${FILE}.desktop || exit 1
+    done
+  fi || exit 1
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/openoffice-bin/BUILD.x86_64 b/zdeprecated/openoffice-bin/BUILD.x86_64
new file mode 100644
index 0000000..f6215be
--- /dev/null
+++ b/zdeprecated/openoffice-bin/BUILD.x86_64
@@ -0,0 +1,93 @@
+(
+  OO_INSTALL_DIR="${SOURCE_DIRECTORY}/RPMS"
+  OO_DESK_DIR="${SOURCE_DIRECTORY}/desktop-integration/usr"
+  OO_DIR="/opt/lunar/openoffice"
+
+  cd $OO_INSTALL_DIR  &&
+
+  if [ "$USE_DESKTOPINTEGRATION" = "y" ] ; then
+
+    mv ${OO_INSTALL_DIR}/desktop-integration ${SOURCE_DIRECTORY} &&
+    cd ${SOURCE_DIRECTORY}/desktop-integration/ &&
+
+    INT_FILE=openoffice.org3.3-freedesktop-menus-3.3-9556.noarch &&
+
+    rpm2cpio $INT_FILE.rpm > $INT_FILE.cpio &&
+    cpio -idm < $INT_FILE.cpio &&
+
+    sedit "s|/etc/openoffice.org3|$OO_DIR|g" ${OO_DESK_DIR}/bin/openoffice.org3 &&
+    sedit "s|/etc/openoffice.org3|$OO_DIR|g" ${OO_DESK_DIR}/bin/openoffice.org3-printeradmin || exit 1
+  fi  &&
+
+  cd $OO_INSTALL_DIR &&
+  rm -rf desktop-integration &&
+
+  # not sure what this rpm is for, but its not there in 32bit OO, so I removed it
+  rm -rf userland &&
+
+  # Let the magic happen. Ugh, I hate rpm
+  message "${MESSAGE_COLOR}Unpacking RPMs...${DEFAULT_COLOR}" &&
+  for pack in ${OO_INSTALL_DIR}/*; do
+    rpm2cpio $pack > `basename $pack .rpm`.cpio || exit 1
+  done  &> /dev/null
+
+  # Now, lets get rid of the rpms
+  rm -rf ${OO_INSTALL_DIR}/*.rpm &&
+
+  for pack in ${OO_INSTALL_DIR}/*; do
+    cpio -idm < $pack &> /dev/null || exit 1
+  done &&
+
+  prepare_install  &&
+  message "${MESSAGE_COLOR}Installing OpenOffice ${VERSION}...${DEFAULT_COLOR}"  &&
+  mkdir -p $MODULE_PREFIX/openoffice  &&
+  chown -R root:root "${OO_INSTALL_DIR}/opt" &&
+  # symlinks are not copied correctly
+  rm "${OO_INSTALL_DIR}/opt/openoffice.org3/basis-link" &&
+  rm "${OO_INSTALL_DIR}/opt/openoffice.org/ure/bin/uno" &&
+  rm "${OO_INSTALL_DIR}/opt/openoffice.org/ure/bin/regcomp" &&
+  rm "${OO_INSTALL_DIR}/opt/openoffice.org/basis3.2/program/libicuuc.so.40" &&
+  rm "${OO_INSTALL_DIR}/opt/openoffice.org/basis3.2/program/libicui18n.so.40" &&
+  cp -a "${OO_INSTALL_DIR}/opt/openoffice.org3" /opt/lunar/openoffice/  &&
+  cp -a "${OO_INSTALL_DIR}/opt/openoffice.org"  /opt/lunar/openoffice   &&
+  # create the symlinks correctly
+  cd /opt/lunar/openoffice &&
+  ln -sf openoffice.org/basis3.2 basis-link &&
+  cd /opt/lunar/openoffice/openoffice.org/ure/bin &&
+  ln -sf startup.sh uno &&
+  ln -sf startup.sh regcomp &&
+  cd /opt/lunar/openoffice/openoffice.org/basis3.2/program &&
+  ln -sf libicuuc.so.40.1 libicuuc.so.40 &&
+  ln -sf libicui18n.so.40.1 libicui18n.so.40 &&
+
+  #Added this force symlink creation at sofar's request
+  cd /usr/bin &&
+  ln -sf ${OO_DIR}/program/soffice soffice &&
+  ln -sf ${OO_DIR}/program/scalc   scalc   &&
+  ln -sf ${OO_DIR}/program/swriter swriter &&
+
+  if [ "$USE_DESKTOPINTEGRATION" = "y" ] ; then
+    sedit 's:/opt/:/opt/lunar/openoffice/:g' \
+          ${OO_DESK_DIR}/bin/openoffice.org3 &&
+    install -m755 ${OO_DESK_DIR}/bin/openoffice.org3 \
+                  ${OO_DESK_DIR}/bin/openoffice.org3-printeradmin /usr/bin/ &&
+
+    # Install icons for the .desktop files
+    mkdir -p -m0755 /usr/share/icons/{gnome,hicolor} &&
+    cd ${OO_DESK_DIR}/share/icons &&
+    cp -r gnome/*x* /usr/share/icons/gnome &&
+    cp -r hicolor/*x* /usr/share/icons/hicolor &&
+    gtk-update-icon-cache --force /usr/share/icons/hicolor &&
+
+    install -m644 "${OO_DESK_DIR}/share/mime/packages/openoffice.org.xml" /usr/share/mime/packages/ &&
+    update-mime-database /usr/share/mime/ &> /dev/null &&
+
+    DESKTOP_FILES="base calc draw impress math printeradmin writer" &&
+
+    for FILE in ${DESKTOP_FILES} ; do
+      ln -s ${OO_DIR}/share/xdg/${FILE}.desktop \
+        /usr/share/applications/${FILE}.desktop || exit 1
+    done
+  fi || exit 1
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/openoffice-bin/CONFIGURE b/zdeprecated/openoffice-bin/CONFIGURE
new file mode 100644
index 0000000..b3dff22
--- /dev/null
+++ b/zdeprecated/openoffice-bin/CONFIGURE
@@ -0,0 +1 @@
+mquery USE_DESKTOPINTEGRATION "Do you want openoffice integrated in the application menu of your DE?" y
diff --git a/zdeprecated/openoffice-bin/CONFLICTS b/zdeprecated/openoffice-bin/CONFLICTS
new file mode 100644
index 0000000..e4a219e
--- /dev/null
+++ b/zdeprecated/openoffice-bin/CONFLICTS
@@ -0,0 +1 @@
+conflicts openoffice-src
diff --git a/zdeprecated/openoffice-bin/DEPENDS b/zdeprecated/openoffice-bin/DEPENDS
new file mode 100644
index 0000000..06fab9b
--- /dev/null
+++ b/zdeprecated/openoffice-bin/DEPENDS
@@ -0,0 +1,3 @@
+depends rpmunpack
+depends cpio
+depends hicolor-icon-theme
diff --git a/zdeprecated/openoffice-bin/DETAILS b/zdeprecated/openoffice-bin/DETAILS
new file mode 100644
index 0000000..3bd7c00
--- /dev/null
+++ b/zdeprecated/openoffice-bin/DETAILS
@@ -0,0 +1,23 @@
+          MODULE=openoffice-bin
+         VERSION=3.3.0
+          SOURCE=OOo_${VERSION}_Linux_x86_install-rpm_en-US.tar.gz
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/OOO330_m20_native_packed-1_en-US.9567
+   SOURCE_URL[0]=http://ftp.ussg.iu.edu/openoffice/stable/$VERSION
+   SOURCE_URL[1]=http://mirrors.sunsite.dk/openoffice/stable/$VERSION
+   SOURCE_URL[2]=http://niihau.student.utwente.nl/openoffice/stable/$VERSION
+   SOURCE_URL[3]=ftp://ftp.funet.fi/pub/mirrors/openoffice.org/stable/$VERSION
+      SOURCE_VFY=sha1:78ec29780356606da1cdcd49e46c46902c179aa6
+        WEB_SITE=http://www.openoffice.org
+         ENTERED=20020704
+         UPDATED=20110212
+           SHORT="The open office suite for unix"
+       LDD_CHECK=off
+         ARCHIVE=off
+
+cat << EOF
+OpenOffice is the open source alternative to a full office suite. Derived
+from SUN's staroffice 5.2, this group of developers started to create
+a GPL'd version of staroffice. It includes all you need for the desktop,
+including word processor, spreadsheet application, presentation maker
+and more, and can read and write almost any Microsoft office file.
+EOF
diff --git a/zdeprecated/openoffice-bin/DETAILS.x86_64 b/zdeprecated/openoffice-bin/DETAILS.x86_64
new file mode 100644
index 0000000..b6617ed
--- /dev/null
+++ b/zdeprecated/openoffice-bin/DETAILS.x86_64
@@ -0,0 +1,23 @@
+          MODULE=openoffice-bin
+         VERSION=3.3.0
+          SOURCE=OOo_${VERSION}_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/OOO330_m20_native_packed-1_en-US.9567
+   SOURCE_URL[0]=http://ftp.ussg.iu.edu/openoffice/stable/$VERSION
+   SOURCE_URL[1]=http://mirrors.sunsite.dk/openoffice/stable/$VERSION
+   SOURCE_URL[2]=http://niihau.student.utwente.nl/openoffice/stable/$VERSION
+   SOURCE_URL[3]=ftp://ftp.funet.fi/pub/mirrors/openoffice.org/stable/$VERSION
+      SOURCE_VFY=sha1:a21fc7de50c2ab42a5fb743f588f47538f65baa3
+        WEB_SITE=http://www.openoffice.org
+         ENTERED=20020704
+         UPDATED=20110212
+           SHORT="The open office suite for unix"
+       LDD_CHECK=off
+         ARCHIVE=off
+
+cat << EOF
+OpenOffice is the open source alternative to a full office suite. Derived
+from SUN's staroffice 5.2, this group of developers started to create
+a GPL'd version of staroffice. It includes all you need for the desktop,
+including word processor, spreadsheet application, presentation maker
+and more, and can read and write almost any Microsoft office file.
+EOF
diff --git a/zdeprecated/openoffice-bin/POST_REMOVE b/zdeprecated/openoffice-bin/POST_REMOVE
new file mode 100644
index 0000000..e4f481b
--- /dev/null
+++ b/zdeprecated/openoffice-bin/POST_REMOVE
@@ -0,0 +1 @@
+rm -rf /opt/lunar/openoffice
diff --git a/zdeprecated/openoffice-bin/PRE_BUILD b/zdeprecated/openoffice-bin/PRE_BUILD
new file mode 100644
index 0000000..e0fdf98
--- /dev/null
+++ b/zdeprecated/openoffice-bin/PRE_BUILD
@@ -0,0 +1,5 @@
+desktopfiles="base calc draw impress math printeradmin writer"  &&
+for i in $desktopfiles; do
+  rm -f /usr/share/applications/$i.desktop
+done   &&
+default_pre_build
diff --git a/zdeprecated/openoffice-bin/profile.d/openoffice-bin.rc b/zdeprecated/openoffice-bin/profile.d/openoffice-bin.rc
new file mode 100644
index 0000000..b6dd4e0
--- /dev/null
+++ b/zdeprecated/openoffice-bin/profile.d/openoffice-bin.rc
@@ -0,0 +1,5 @@
+# openoffice-bin specific stuff
+
+[ -d /opt/lunar/openoffice/openoffice.org3/program ] &&
+    PATH="$PATH:/opt/lunar/openoffice/openoffice.org3/program"
+
diff --git a/zdeprecated/openoffice-src-pl/BUILD b/zdeprecated/openoffice-src-pl/BUILD
new file mode 100644
index 0000000..eb69e44
--- /dev/null
+++ b/zdeprecated/openoffice-src-pl/BUILD
@@ -0,0 +1,13 @@
+(
+
+  for file in `ls *.rpm`; do rpmunpack $file; done &&
+  rm -f *.rpm &&
+  gunzip *.gz &&
+  for file in `ls *.cpio`; do cpio -idvI $file; done &&
+  rm -f *.cpio &&
+  prepare_install &&
+  cp -a opt/* /opt/lunar/openoffice-src &&
+  install -m644 $SOURCE_CACHE/$SOURCE2 /opt/lunar/openoffice-src/openoffice.org3/share/extension/install/dict-pl.oxt &&
+  rm -f $SOURCE_CACHE/$SOURCE2
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/openoffice-src-pl/DEPENDS b/zdeprecated/openoffice-src-pl/DEPENDS
new file mode 100644
index 0000000..1ddf4ff
--- /dev/null
+++ b/zdeprecated/openoffice-src-pl/DEPENDS
@@ -0,0 +1 @@
+depends openoffice-src
diff --git a/zdeprecated/openoffice-src-pl/DETAILS b/zdeprecated/openoffice-src-pl/DETAILS
new file mode 100644
index 0000000..664fdbb
--- /dev/null
+++ b/zdeprecated/openoffice-src-pl/DETAILS
@@ -0,0 +1,21 @@
+          MODULE=openoffice-src-pl
+         VERSION=3.2.1
+         RELEASE=9502
+       MILESTONE=m18
+        LANGUAGE=pl
+          SOURCE=OOo_${VERSION}_Linux_x86_langpack-rpm_${LANGUAGE}.tar.gz
+         SOURCE2=pl-dict.oxt
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/OOO320_${MILESTONE}_native_packed-1_${LANGUAGE}.${RELEASE}/RPMS
+      SOURCE_URL=http://ftp.gwdg.de/pub/openoffice/localized/$LANGUAGE/$VERSION
+     SOURCE2_URL=http://extensions.services.openoffice.org/e-files/806/4
+      SOURCE_VFY=sha1:6be5bf05cf65ba4f89f0965885f53af92a288b10
+     SOURCE2_VFY=sha1:d5704efc735f5492284e8b9cd2ea717a700033c3
+        WEB_SITE=http://www.openoffice.org
+         ENTERED=20080706
+         UPDATED=20100619
+           SHORT="OpenOffice.org Office - Polish localization"
+cat << EOF
+OpenOffice.org Office Suite - Polish localization pack for:
+* user interface,
+* help documentation,
+EOF
diff --git a/zdeprecated/openoffice-src-pl/DETAILS.x86_64 b/zdeprecated/openoffice-src-pl/DETAILS.x86_64
new file mode 100644
index 0000000..158c145
--- /dev/null
+++ b/zdeprecated/openoffice-src-pl/DETAILS.x86_64
@@ -0,0 +1,21 @@
+          MODULE=openoffice-src-pl
+         VERSION=3.2.1
+         RELEASE=9502
+       MILESTONE=m18
+        LANGUAGE=pl
+          SOURCE=OOo_${VERSION}_Linux_x86-64_langpack-rpm_${LANGUAGE}.tar.gz
+         SOURCE2=pl-dict.oxt
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/OOO320_${MILESTONE}_native_packed-1_${LANGUAGE}.${RELEASE}/RPMS
+      SOURCE_URL=http://ftp.gwdg.de/pub/openoffice/localized/$LANGUAGE/$VERSION
+     SOURCE2_URL=http://extensions.services.openoffice.org/e-files/806/4
+      SOURCE_VFY=sha1:2ee1b863f95affe93d3cbeff1bbd08da0b8424e7
+     SOURCE2_VFY=sha1:d5704efc735f5492284e8b9cd2ea717a700033c3
+        WEB_SITE=http://www.openoffice.org
+         ENTERED=20080706
+         UPDATED=20100619
+           SHORT="OpenOffice.org Office - Polish localization"
+cat << EOF
+OpenOffice.org Office Suite - Polish localization pack for:
+* user interface,
+* help documentation,
+EOF
diff --git a/zdeprecated/openoffice-src-pl/POST_INSTALL b/zdeprecated/openoffice-src-pl/POST_INSTALL
new file mode 100644
index 0000000..0582c82
--- /dev/null
+++ b/zdeprecated/openoffice-src-pl/POST_INSTALL
@@ -0,0 +1 @@
+rm -rf $BUILD_DIRECTORY/OOO3*
diff --git a/zdeprecated/openoffice-src/BUILD b/zdeprecated/openoffice-src/BUILD
new file mode 100644
index 0000000..cc78a30
--- /dev/null
+++ b/zdeprecated/openoffice-src/BUILD
@@ -0,0 +1,145 @@
+(
+
+# To fix:dtint.hxx:41:8: error: using typedef-name 'Display' after 'struct'
+# Take from http://bugs.gentoo.org/344993
+  sedit "s:\#ifndef _XLIB_H_:\#if \!defined(_XLIB_H_) \&\& \!defined(_X11_XLIB_H_):" vcl/unx/inc/dtint.hxx &&
+
+# So it will compile with gcc-4.5
+  sedit "s:__ <= 4:__ <= 5:g" cppu/inc/uno/lbnames.h&&
+
+# This sedit is needed for the configure to complete with current db.
+  sedit "s:seq 1 7:seq 1 8:" configure.in &&
+
+  cd $SOURCE_DIRECTORY &&
+  for file in `find . -name \*.patch -type f -exec grep -l '
$' {} \;`; do sedit 's/
$//' $file; done &&
+  cd apache-commons/download &&
+  tar -xzpf commons-codec-1.3-src.tar.gz &&
+  tar -xzpf commons-logging-1.1.1-src.tar.gz &&
+  cd - &&
+  for file in `find . -name build.xml -type f -exec grep -l '
$' {} \;`; do sedit 's/
$//' $file; done &&
+  cd apache-commons/download &&
+  tar -czf commons-codec-1.3-src.tar.gz commons-codec-1.3 &&
+  tar -czf commons-logging-1.1.1-src.tar.gz commons-logging-1.1.1-src &&
+  rm -rf commons-codec-1.3 commons-logging-1.1.1-src &&
+  cd - &&
+
+  . /etc/profile.d/pkgconfig.rc &&
+
+  OO_DIR="/opt/lunar/openoffice-src"
+
+  RM_DESK_TOP="math extension printeradmin base calc draw impress writer"
+
+  # There are symlinks left over if openoffice-bin is installed and
+  # they do not get removed and the BUILD will tank near the end of
+  # the compile, this takes care of that.
+  for FILE in ${RM_DESK_TOP} ; do
+      rm -f /usr/share/applications/${FILE}.desktop || exit 1
+    done &&
+
+  sedit "/^ARCH_FLAGS\*=/d" solenv/inc/unxlngi{4,6}.mk &&
+  ARCH_FLAGS=$CXXFLAGS
+
+  # All of the options have been carefully chosen. Don't edit them unless you
+  # really know what you're doing
+
+  OPTS+=" --prefix=$OO_DIR --enable-dbus --disable-dbgutil --disable-static-gtk \
+              --disable-fontooo --disable-odk --disable-debug --enable-opengl \
+              --disable-mathmldtd --enable-cairo --with-mozilla-version=1.7.5 \
+              --enable-mozilla --enable-binfilter --enable-xrender-link       \
+              --without-ppds --without-afms --with-system-mozilla=mozilla  \
+              --with-system-stdlibs --with-system-zlib --enable-minimizer     \
+              --with-system-jpeg --with-system-expat --with-system-freetype   \
+              --with-system-libxml --with-system-db --disable-symbols --enable-Xaw \
+              --with-system-xrender-headers --with-epm=internal --enable-pdfimport   \
+              --with-use-shell=bash --with-x --with-package-format=native     \
+              --with-build-version=LunarLinux --enable-presenter-console \
+              --enable-wiki-publisher --enable-ogltrans --enable-report-builder \
+              --with-system-cairo --with-lang=en --with-dict=ENUS" &&
+
+  if in_depends $MODULE kdepim4 ; then
+    . /etc/profile.d/qt4.rc &&
+    . /etc/profile.d/kde4.rc &&
+    QT4DIR=$QTDIR &&
+    QT4INC=$QTDIR/include/qt4 &&
+    QT4LIB=$QTDIR/lib/qt4 &&
+    KDE4DIR=$KDE4_INSTALL_DIR &&
+    export QT4DIR  &&
+    export QT4INC  &&
+    export QT4LIB  &&
+    export KDE4DIR 
+  fi &&
+
+  if module_installed sun-jdk ; then
+    OPTS+=" --with-jdk-home=$JAVA_HOME";
+   else
+    if  module_installed j2sdk ; then
+    OPTS+=" --with-jdk-home=$JAVA_HOME";
+    fi
+  fi &&
+
+  # As long as OOo-src does not compile against nss it needs its own mozilla
+  # tarball (and it also compiles its own mozilla)
+  mkdir -p $SOURCE_DIRECTORY/moz/download &&
+  cp $SOURCE_CACHE/$SOURCE2 $SOURCE_DIRECTORY/moz/download/ &&
+  autoreconf &&
+  default_config &&
+
+  # OOo might fail if those are set to some strange values
+  umask 0022 &&
+  unset LANG LC_ALL &&
+
+  cd $SOURCE_DIRECTORY &&
+
+  if [ "`arch`" == "x86_64" ] ; then 
+      ./bootstrap &&
+      sedit "s/-lxml2/-lxml2\ -lexpat/g" LinuxX86-64Env.Set.sh &&
+      source LinuxX86-64Env.Set.sh
+    else
+      ./bootstrap &&
+      sedit "s/-lxml2/-lxml2\ -lexpat/g" LinuxX86Env.Set.sh &&
+      source LinuxX86Env.Set.sh
+  fi &&
+
+  dmake &&
+
+  prepare_install &&
+
+  # make install is not reliable
+  # FIXME: How do we detect this directory in an elegant way?
+  if [ "`arch`" == "x86_64" ] ; then
+     cd instsetoo_native/unxlngx6.pro/OpenOffice/native/install/en-US/linux-2.6-x86_64/buildroot/opt
+    else 
+     cd instsetoo_native/unxlngi6.pro/OpenOffice/native/install/en-US/linux-2.6-intel/buildroot/opt 
+  fi &&
+
+  rm -rf $OO_DIR &&
+  mkdir -p $OO_DIR &&
+  cp -rv openoffice.org* $OO_DIR &&
+
+  # Install icons for the .desktop files
+  mkdir -p -m0755 /usr/share/icons &&
+  cd $SOURCE_DIRECTORY/sysui/desktop/icons &&
+  (find . -name CVS -type d -exec rm -rf {} \; &> /dev/null || true) &&
+  cp -rv locolor /usr/share/icons &&
+  cp -rv hicolor /usr/share/icons &&
+  gtk-update-icon-cache --force /usr/share/icons/hicolor &&
+
+  # Desktop integration
+  mkdir -p -m0755 /usr/share/applications &&
+  cd $OO_DIR/openoffice.org3/share/xdg &&
+  rm -f qstart.desktop &&
+
+  for file in *.desktop ; do
+    sedit '/Exec/d' $file;
+    echo "Exec=$OO_DIR/openoffice.org3/program/s`echo $file | sed 's/.desktop//'`" >> $file;
+    sedit '/Icon/d' $file;
+    echo "Icon=`echo ${file}.png | sed 's/.desktop//'`" >> $file;
+    install -m644 $file /usr/share/applications;
+  done &&
+
+  sedit 's/sprinteradmin$/spadmin/' printeradmin.desktop &&
+  install -m644 printeradmin.desktop /usr/share/applications &&
+
+  update-desktop-database
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/openoffice-src/CONFLICTS b/zdeprecated/openoffice-src/CONFLICTS
new file mode 100644
index 0000000..4f3fd28
--- /dev/null
+++ b/zdeprecated/openoffice-src/CONFLICTS
@@ -0,0 +1 @@
+conflicts openoffice-bin
diff --git a/zdeprecated/openoffice-src/DEPENDS b/zdeprecated/openoffice-src/DEPENDS
new file mode 100644
index 0000000..1060c81
--- /dev/null
+++ b/zdeprecated/openoffice-src/DEPENDS
@@ -0,0 +1,114 @@
+depends %JAVA_SDK
+depends apache-ant
+depends xulrunner
+depends libIDL
+depends XML-Parser
+depends libxml2
+depends gtk+-2
+depends Archive-Zip
+depends Compress-Zlib
+depends unzip
+depends zip
+depends which
+depends desktop-file-utils
+depends hicolor-icon-theme
+depends IO-Compress-Zlib
+depends gperf
+depends %JPEG
+depends expat
+
+
+optional_depends "kdepim4"           \
+                 "--enable-kde4"     \
+                 "--disable-kde4"    \
+                 "for Qt4/KDE4 vclplug support"
+
+optional_depends "libxslt"                  \
+                 "--with-system-libxslt"    \
+                 "--without-system-libxslt" \
+                 "For xslt support"
+
+optional_depends "%JAVA_SDK"      \
+                 "--with-java"    \
+                 "--without-java" \
+                 "For java components, applets, XML filters support"
+
+optional_depends "openssl"                  \
+                 "--with-system-openssl"    \
+                 "--without-system-openssl" \
+                 "For openssl support"
+
+optional_depends "libwpd"                  \
+                 "--with-system-libwpd"    \
+                 "--without-system-libwpd" \
+                 "For WordPerfect support"
+
+optional_depends "icu4c"                  \
+                 "--with-system-icu"    \
+                 "--without-system-icu" \
+                 "For icu support"
+
+optional_depends "boost"                  \
+                 "--with-system-boost"    \
+                 "--without-system-boost" \
+                 "For boost support"
+
+optional_depends "cups"                                   \
+                 "--enable-cups"                          \
+                 "--disable-cups"                         \
+                 "enable the OpenOffice printing backend"
+
+optional_depends "curl"                                    \
+                 "--with-system-curl"                      \
+                 "--without-system-curl"                   \
+                 "to link against the system cURL library"
+
+optional_depends "neon"                             \
+                 "--enable-neon --with-system-neon" \
+                 "--disable-neon"                   \
+                 "for webdav support"
+
+optional_depends "openldap"        \
+                 "--with-openldap" \
+                 "--disable-ldap"  \
+                 "for LDAP support"
+
+optional_depends "Python"                   \
+                 "--with-system-python"     \
+                 "--without-system-python"  \
+                 "for native Python support"
+
+optional_depends "evolution-data-server"            \
+                 "--enable-evolution2"              \
+                 "--disable-evolution2"             \
+                 "for Evolution addressbook support"
+
+optional_depends "GConf"                \
+                 "--enable-gconf"       \
+                 "--disable-gconf"      \
+                 "for GConf integration"
+
+optional_depends "gnome-vfs"                             \
+                 "--enable-gnome-vfs --enable-lockdown --disable-gio"   \
+                 "--disable-gnome-vfs --disable-lockdown --enable-gio" \
+                 "for GNOME-vfs integration"
+
+optional_depends "Linux-PAM"            \
+                 "--enable-pam-link"    \
+                 "--disable-pam"        \
+                 "for Linux-PAM support"
+
+optional_depends "vigra"                   \
+                 "--with-system-vigra"     \
+                 "--without-system-vigra"  \
+                 "For generic algorithm support"
+
+optional_depends "hunspell"                  \
+                 "--with-system-hunspell"    \
+                 "--without-system-hunspell" \
+                 "for spell checking support"
+
+optional_depends "sane-backends"                \
+                 "--with-system-sane-header"    \
+                 "--without-system-sane-header" \
+                 "for scanner support"
diff --git a/zdeprecated/openoffice-src/DETAILS b/zdeprecated/openoffice-src/DETAILS
new file mode 100644
index 0000000..9ed829a
--- /dev/null
+++ b/zdeprecated/openoffice-src/DETAILS
@@ -0,0 +1,31 @@
+          MODULE=openoffice-src
+         VERSION=3.2.1
+          SOURCE=OOo_${VERSION}_src_core.tar.bz2
+         SOURCE2=mozilla-source-1.7.5.tar.gz
+         SOURCE3=OOo_${VERSION}_src_l10n.tar.bz2
+         SOURCE4=OOo_${VERSION}_src_system.tar.bz2
+         SOURCE5=OOo_${VERSION}_src_extensions.tar.bz2
+         SOURCE6=OOo_${VERSION}_src_binfilter.tar.bz2
+         SOURCE7=OOo_3.2.0_src_testautomation.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/OOO320_m19
+      SOURCE_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
+     SOURCE2_URL=ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/
+     SOURCE3_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
+     SOURCE4_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
+     SOURCE5_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
+     SOURCE6_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
+     SOURCE7_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/3.2.0/
+      SOURCE_VFY=sha1:50416998ecca06118dbfb7ca8b1ab348cd9419c3
+     SOURCE2_VFY=sha1:bb2a89b95d7626a63a3787208e0abb99ea595d24
+     SOURCE3_VFY=sha1:700bbc2ea378c866855512681369e67b21a03417
+     SOURCE4_VFY=sha1:a7ac0bf3806ffb1ee3fd05b71e9e6b1a7bf577b1
+     SOURCE5_VFY=sha1:e0cd094a38973f9314e775ece03e6d7315607733
+     SOURCE6_VFY=sha1:120dcb4c080423eb1135c582e8d1251b67585a25
+     SOURCE7_VFY=sha1:2ceb738b76f70feb4b4459308180dd65fcedf7e5
+        WEB_SITE=http://www.openoffice.org
+         ENTERED=20030805
+         UPDATED=20100604
+           SHORT="OpenOffice.org Office Suite"
+cat << EOF
+OpenOffice.org Office Suite
+EOF
diff --git a/zdeprecated/openoffice-src/PRE_BUILD b/zdeprecated/openoffice-src/PRE_BUILD
new file mode 100644
index 0000000..044cc2a
--- /dev/null
+++ b/zdeprecated/openoffice-src/PRE_BUILD
@@ -0,0 +1,9 @@
+default_pre_build &&
+
+cd $SOURCE_DIRECTORY &&
+
+tar xf $SOURCE_CACHE/$SOURCE3 --strip-components=1 &&
+tar xf $SOURCE_CACHE/$SOURCE4 --strip-components=1 &&
+tar xf $SOURCE_CACHE/$SOURCE6 --strip-components=1 &&
+tar xf $SOURCE_CACHE/$SOURCE5 --strip-components=1 &&
+tar xf $SOURCE_CACHE/$SOURCE7 --strip-components=1
diff --git a/zdeprecated/openoffice-src/profile.d/openoffice-src.rc b/zdeprecated/openoffice-src/profile.d/openoffice-src.rc
new file mode 100644
index 0000000..ca1cc0e
--- /dev/null
+++ b/zdeprecated/openoffice-src/profile.d/openoffice-src.rc
@@ -0,0 +1,4 @@
+# openoffice-src specific stuff
+
+[ -d /opt/lunar/openoffice-src/program ] &&
+    PATH="$PATH:/opt/lunar/openoffice-src/program"


More information about the Lunar-commits mailing list