forked from mirrors/nixpkgs
Boinc can even run, but only if placed in the proper (writeable) path.
svn path=/nixpkgs/trunk/; revision=29712
This commit is contained in:
parent
c286f9acb6
commit
80d397413d
|
@ -1,5 +1,6 @@
|
|||
{ fetchsvn, stdenv, autoconf, automake, pkgconfig, m4, curl,
|
||||
mesa, libXmu, libXi, freeglut, libjpeg, libtool }:
|
||||
mesa, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK,
|
||||
sqlite, gtk, patchelf, libXScrnSaver, libnotify, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "boinc-6.13.6";
|
||||
|
@ -11,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
buildInputs = [ libtool automake autoconf m4 pkgconfig curl mesa libXmu libXi
|
||||
freeglut libjpeg ];
|
||||
freeglut libjpeg wxGTK sqlite gtk libXScrnSaver libnotify patchelf libX11 ];
|
||||
|
||||
postConfigure = ''
|
||||
sed -i -e s,/etc,$out/etc, client/scripts/Makefile
|
||||
|
@ -22,7 +23,19 @@ stdenv.mkDerivation rec {
|
|||
configureFlags="$configureFlags --sysconfdir=$out/etc"
|
||||
'';
|
||||
|
||||
configureFlags = "--disable-server";
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = "--disable-server --disable-fast-install";
|
||||
|
||||
postInstall = "
|
||||
# Remove a leading rpath to /tmp/... I don't know how it got there
|
||||
# I could not manage to get rid of that through autotools.
|
||||
for a in $out/bin/*; do
|
||||
RPATH=$(patchelf --print-rpath $a)
|
||||
NEWRPATH=$(echo $RPATH | sed 's/^[^:]*://')
|
||||
patchelf --set-rpath $out/lib:$NEWRPATH $a
|
||||
done
|
||||
";
|
||||
|
||||
meta = {
|
||||
description = "Free software for distributed and grid computing";
|
||||
|
|
Loading…
Reference in a new issue