Updating the go_oo expression to not to break the tarball (thanks to Rob)

svn path=/nixpkgs/trunk/; revision=21982
This commit is contained in:
Lluís Batlle i Rossell 2010-05-26 07:03:25 +00:00
parent d737607b56
commit f3ac7c55ec
2 changed files with 7 additions and 8 deletions

View File

@ -4,17 +4,18 @@
, bison, flex, zip, unzip, gtk, libmspack, getopt, file, cairo, which , bison, flex, zip, unzip, gtk, libmspack, getopt, file, cairo, which
, icu, boost, jdk, ant, libXext, libX11, libXtst, libXi, cups , icu, boost, jdk, ant, libXext, libX11, libXtst, libXi, cups
, libXinerama, openssl, gperf, cppunit, GConf, ORBit2 , libXinerama, openssl, gperf, cppunit, GConf, ORBit2
, autoconf, openldap, postgresql , autoconf, openldap, postgresql, bash
, langs ? [ "en-US" "ca" "ru" "eo" "fr" "nl" "de" "en-GB" ] , langs ? [ "en-US" "ca" "ru" "eo" "fr" "nl" "de" "en-GB" ]
}: }:
let version = "3.2.0"; in let
langsSpaces = stdenv.lib.concatStringsSep " " langs;
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "go-oo-3.2.0.10"; name = "go-oo-3.2.0.10";
# builder = ./builder.sh; # builder = ./builder.sh;
downloadRoot = "http://download.services.openoffice.org/files/stable"; downloadRoot = "http://download.services.openoffice.org/files/stable";
versionDirs = true;
src = fetchurl { src = fetchurl {
url = "http://download.go-oo.org/OOO320/ooo-build-3.2.0.10.tar.gz"; url = "http://download.go-oo.org/OOO320/ooo-build-3.2.0.10.tar.gz";
@ -25,7 +26,7 @@ stdenv.mkDerivation rec {
# Multi-CPU: --with-num-cpus=4 # Multi-CPU: --with-num-cpus=4
configurePhase = '' configurePhase = ''
sed -i -e '1s,/bin/bash,${stdenv.bash}/bin/bash,' $(find bin -type f) sed -i -e '1s,/bin/bash,${bash}/bin/bash,' $(find bin -type f)
sed -i -e '1s,/usr/bin/perl,${perl}/bin/perl,' download.in bin/ooinstall bin/generate-bash-completion sed -i -e '1s,/usr/bin/perl,${perl}/bin/perl,' download.in bin/ooinstall bin/generate-bash-completion
echo "$distroFlags" > distro-configs/SUSE-11.1.conf.in echo "$distroFlags" > distro-configs/SUSE-11.1.conf.in
@ -128,13 +129,11 @@ stdenv.mkDerivation rec {
ant autoconf openldap postgresql ant autoconf openldap postgresql
]; ];
langsSpaces = stdenv.lib.concatStringsSep " " langs;
meta = { meta = {
description = "Go-oo - Novell variant of OpenOffice.org"; description = "Go-oo - Novell variant of OpenOffice.org";
homepage = http://go-oo.org/; homepage = http://go-oo.org/;
license = "LGPL"; license = "LGPL";
maintainers = [ stdenv.lib.maintainers.viric ]; maintainers = [ stdenv.lib.maintainers.viric ];
platforms = [ stdenv.lib.platforms.linux ]; platforms = stdenv.lib.platforms.linux;
}; };
} }

View File

@ -8273,7 +8273,7 @@ let
inherit fetchurl pam python tcsh libxslt perl zlib libjpeg inherit fetchurl pam python tcsh libxslt perl zlib libjpeg
expat pkgconfig freetype fontconfig libwpd libxml2 db4 sablotron expat pkgconfig freetype fontconfig libwpd libxml2 db4 sablotron
curl libsndfile flex zip unzip libmspack getopt file cairo curl libsndfile flex zip unzip libmspack getopt file cairo
which icu jdk ant cups openssl bison boost gperf cppunit; which icu jdk ant cups openssl bison boost gperf cppunit bash;
inherit (xlibs) libXaw libXext libX11 libXtst libXi libXinerama; inherit (xlibs) libXaw libXext libX11 libXtst libXi libXinerama;
inherit (gtkLibs) gtk; inherit (gtkLibs) gtk;
inherit (perlPackages) ArchiveZip CompressZlib; inherit (perlPackages) ArchiveZip CompressZlib;