diff --git a/pkgs/applications/office/openoffice/builder.sh b/pkgs/applications/office/openoffice/builder.sh index edeb0e997600..3234e366b902 100644 --- a/pkgs/applications/office/openoffice/builder.sh +++ b/pkgs/applications/office/openoffice/builder.sh @@ -5,25 +5,73 @@ export NO_HIDS=TRUE export PATH=$icu/sbin:$PATH + preConfigure=preConfigure preConfigure() { for i in \ sysui/desktop/share/makefile.mk \ ; do - substituteInPlace $i --replace /bin/bash /bin/sh + substituteInPlace $i --replace /bin/bash $shell done + SRCDIR= + cd config_office/ } + postConfigure="cd .." + buildPhase=buildPhase buildPhase() { - source LinuxX86Env.Set.sh - ./bootstrap - - dmake + source LinuxX86Env.Set.sh + ./bootstrap + dmake # wait a few hours... } + +wrapSOffice() { + local fn=$1 + local arg=$2 + + # !!! should use makeWrapper for this. + + cat > $out/bin/$fn <