2008-04-11 11:25:58 +02:00
|
|
|
args : with args;
|
2008-11-04 22:24:10 +01:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2008-04-11 11:25:58 +02:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = http://releases.compiz-fusion.org/0.7.4/compiz-bcop-0.7.4.tar.bz2;
|
|
|
|
sha256 = "1dfkwac45p6bl64gn58jnj5h99w81mlqkzfn7jni96kgspvnipjf";
|
|
|
|
};
|
|
|
|
buildInputs = (import ../general-dependencies.nix args);
|
|
|
|
propagatedBuildInputs = [getopt libxslt];
|
|
|
|
configureFlags = [];
|
2008-10-26 12:58:42 +01:00
|
|
|
} ;
|
2008-04-11 11:25:58 +02:00
|
|
|
in with localDefs;
|
|
|
|
let
|
2009-05-20 01:25:58 +02:00
|
|
|
fixPkgconfig = fullDepEntry ("
|
2008-04-11 11:25:58 +02:00
|
|
|
ensureDir \$out/lib
|
|
|
|
ln -fs \$out/share/pkgconfig \$out/lib/pkgconfig
|
|
|
|
") [minInit doMakeInstall defEnsureDir];
|
2009-05-20 01:25:58 +02:00
|
|
|
fixInterpreter = fullDepEntry ("
|
2008-04-11 11:25:58 +02:00
|
|
|
sed -e 's@^#!/bin/bash@#! ${stdenv.bash}/bin/bash@' -i \$out/bin/bcop
|
|
|
|
") [minInit doMakeInstall];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "compiz-bcop-"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs [doAutotools doConfigure doMakeInstall fixPkgconfig fixInterpreter doForceShare
|
|
|
|
doPropagate]);
|
|
|
|
inherit propagatedBuildInputs;
|
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
Compiz BCOP.
|
|
|
|
";
|
|
|
|
inherit src;
|
|
|
|
};
|
|
|
|
}
|