3
0
Fork 0
forked from mirrors/nixpkgs

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
, icu, boost, jdk, ant, libXext, libX11, libXtst, libXi, cups
, libXinerama, openssl, gperf, cppunit, GConf, ORBit2
, autoconf, openldap, postgresql
, autoconf, openldap, postgresql, bash
, 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 {
name = "go-oo-3.2.0.10";
# builder = ./builder.sh;
downloadRoot = "http://download.services.openoffice.org/files/stable";
versionDirs = true;
src = fetchurl {
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
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
echo "$distroFlags" > distro-configs/SUSE-11.1.conf.in
@ -128,13 +129,11 @@ stdenv.mkDerivation rec {
ant autoconf openldap postgresql
];
langsSpaces = stdenv.lib.concatStringsSep " " langs;
meta = {
description = "Go-oo - Novell variant of OpenOffice.org";
homepage = http://go-oo.org/;
license = "LGPL";
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
expat pkgconfig freetype fontconfig libwpd libxml2 db4 sablotron
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 (gtkLibs) gtk;
inherit (perlPackages) ArchiveZip CompressZlib;