source $stdenv/setup export nodep=TRUE 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 $shell done SRCDIR= sed -e '/CURL_NO_OLDIES/d' -i ucb/source/ucp/ftp/makefile.mk cd config_office/ } postConfigure=postConfigure postConfigure() { cd .. for i in LinuxX86*Env.Set; do substituteInPlace $i --replace /usr /no-such-path done substituteInPlace solenv/inc/libs.mk \ --replace /usr/lib/libjpeg.so $libjpeg/lib/libjpeg.so \ --replace /usr/lib64/libjpeg.so $libjpeg/lib/libjpeg.so } buildPhase=buildPhase buildPhase() { source LinuxX86*Env.Set.sh ./bootstrap dmake # wait a few hours... } wrapSOffice() { local fn=$1 local arg=$2 # !!! should use makeWrapper for this. cat > $out/bin/$fn <