From 74b4df1a7b6ded9eb9bcac8b8a0dc79759d9b012 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Tue, 25 Oct 2005 18:01:13 +0000 Subject: [PATCH] WiP builder for OpenOffice2. This alone will be worth many ECTS if I succeeed in adding it :P svn path=/nixpkgs/trunk/; revision=4133 --- pkgs/applications/office/openoffice/builder.sh | 10 ++++++++++ pkgs/applications/office/openoffice/default.nix | 11 +++++++++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/applications/office/openoffice/builder.sh create mode 100644 pkgs/applications/office/openoffice/default.nix diff --git a/pkgs/applications/office/openoffice/builder.sh b/pkgs/applications/office/openoffice/builder.sh new file mode 100644 index 000000000000..3e7d349acab0 --- /dev/null +++ b/pkgs/applications/office/openoffice/builder.sh @@ -0,0 +1,10 @@ +source $stdenv/setup + +configurePhase() { + cd config_office/; + ./configure; +} + +configurePhase=configurePhase; + +genericBuild diff --git a/pkgs/applications/office/openoffice/default.nix b/pkgs/applications/office/openoffice/default.nix new file mode 100644 index 000000000000..a0d3aa078b78 --- /dev/null +++ b/pkgs/applications/office/openoffice/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, tcsh, cups, pam}: + +stdenv.mkDerivation { + name = "openoffice.org-2.0.0"; + builder = ./builder.sh; + src = fetchurl { + url = ftp://ftp.nluug.nl/pub/office/openoffice/stable/2.0.0/OOo_2.0.0_src.tar.gz; + md5 = "a68933afc2bf432d11b2043ac99ba0aa"; + }; + buildInputs = [tcsh cups pam]; +}