Update LinuxDC++. Does not eliminate some of the strange segfaults
svn path=/nixpkgs/trunk/; revision=29449
This commit is contained in:
parent
637e57fc93
commit
8e6bbd66aa
@ -1,26 +1,33 @@
|
|||||||
{ builderDefs, scons, pkgconfig, gtk, bzip2, libglade, openssl, libX11 }:
|
{ builderDefs, scons, pkgconfig, gtk, bzip2, libglade, openssl, libX11, boost, zlib }:
|
||||||
|
|
||||||
with builderDefs;
|
with builderDefs;
|
||||||
let localDefs = builderDefs.passthru.function ((rec {
|
let localDefs = builderDefs.passthru.function ((rec {
|
||||||
src = /* put a fetchurl here */
|
src = /* put a fetchurl here */
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = http://launchpad.net/linuxdcpp/1.0/1.0.3/+download/linuxdcpp-1.0.3.tar.bz2;
|
url = http://launchpad.net/linuxdcpp/1.1/1.1.0/+download/linuxdcpp-1.1.0.tar.bz2;
|
||||||
sha256 = "0w9c8k13cl85y4v4av8ic6w4zkdivcj6p5q86llfh3sz077vckiv";
|
sha256 = "66012740e9347a2e994c8af5609c40ebf3f86f767258e071a03ef39a2314298a";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [scons pkgconfig gtk bzip2 libglade
|
buildInputs = [scons pkgconfig gtk bzip2 libglade
|
||||||
openssl libX11];
|
openssl libX11 boost];
|
||||||
configureFlags = [];
|
configureFlags = [];
|
||||||
doScons = fullDepEntry (''
|
doScons = fullDepEntry (''
|
||||||
ensureDir $out
|
ensureDir $out
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lX11";
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lX11";
|
||||||
|
|
||||||
|
for i in gettext xgettext msgfmt msgcat; do
|
||||||
|
echo > $i
|
||||||
|
chmod a+x $i
|
||||||
|
done
|
||||||
|
export PATH=$PATH:$PWD
|
||||||
|
|
||||||
scons PREFIX=$out
|
scons PREFIX=$out
|
||||||
scons PREFIX=$out install
|
scons PREFIX=$out install
|
||||||
'') ["minInit" "doUnpack" "addInputs" "defEnsureDir"];
|
'') ["minInit" "doUnpack" "addInputs" "defEnsureDir"];
|
||||||
}));
|
}));
|
||||||
in with localDefs;
|
in with localDefs;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ldcpp-1.0.3";
|
name = "ldcpp-1.1.0";
|
||||||
builder = writeScript (name + "-builder")
|
builder = writeScript (name + "-builder")
|
||||||
(textClosure localDefs
|
(textClosure localDefs
|
||||||
[doScons doForceShare doPropagate]);
|
[doScons doForceShare doPropagate]);
|
||||||
|
Loading…
Reference in New Issue
Block a user