nixpkgs/pkgs/applications/office/openoffice/builder.sh
Eelco Dolstra 5b220fb397 * Some more attempts at getting OpenOffice (2.2.1) to build.
It compiles now, but I haven't figure out how to do the
  equivalent of a "make install".  But you can build with -K
  and then do

  $ cd /tmp/nix-.../OOF680_m18/instsetoo_native/util
  $ dmake openoffice_en-US PKGFORMAT=archive
  
  and you get a big tarball in 

  /tmp/nix-.../OOF680_m18/instsetoo_native/unxlngi6.pro/OpenOffice/archive/install/en-US

  that you can unpack anywhere to get a more-or-less working OpenOffice.

svn path=/nixpkgs/trunk/; revision=9257
2007-09-05 13:56:12 +00:00

30 lines
402 B
Bash

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 /bin/sh
done
cd config_office/
}
postConfigure="cd .."
buildPhase=buildPhase
buildPhase() {
source LinuxX86Env.Set.sh
./bootstrap
dmake
}
genericBuild