Merging from trunk.

I fixed conflicts regarding the renaming 'kernel' -> 'linux' in all-packages.
Also a small conflict in all-packages about making openssl overridable.
And I some linux 2.6.31-zen kernel files also marked in conflict.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19438
This commit is contained in:
Lluís Batlle i Rossell
2010-01-14 14:49:31 +00:00
167 changed files with 3562 additions and 1240 deletions

View File

@@ -1,11 +1,11 @@
{ fetchurl, stdenv, ocaml, perl, python, ncurses, makeWrapper }:
stdenv.mkDerivation rec {
name = "coccinelle-0.1.11rc1";
name = "coccinelle-0.2.0";
src = fetchurl {
url = "http://coccinelle.lip6.fr/distrib/${name}.tgz";
sha256 = "1rdsv3qcl6zcx3d3zd4cl9d79hdgaw19llxbflkfxipvkg3vk59x";
sha256 = "1mg6r92h8j3kqgy9iv6kk0g96m84wcj71iavgvv9qdbk3qwim8i4";
};
buildInputs = [ ocaml perl python ncurses makeWrapper ];
@@ -18,14 +18,16 @@ stdenv.mkDerivation rec {
buildPhase = "make depend && make all";
# Most of the test suite seems to fail (?!).
# Note: The tests want $out/share/coccinelle/standard.h so they must be run
# after "make install".
doCheck = false;
checkPhase = "make test";
postInstall =
'' wrapProgram "$out/bin/spatch" \
--prefix "LD_LIBRARY_PATH" ":" "$out/lib" \
--prefix "PYTHONPATH" ":" "$out/share/coccinelle/python"
make test
'';
meta = {