2007-11-05 09:32:20 +01:00
|
|
|
args : with args;
|
|
|
|
with builderDefs {
|
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = http://releases.compiz-fusion.org/0.6.0/compiz-bcop-0.6.0.tar.bz2;
|
|
|
|
sha256 = "0hw2ivvw696z325cqy7pmxb8cz30bqh67giw5fg6kzb9sn0x8v8f";
|
|
|
|
};
|
|
|
|
buildInputs = (import ../general-dependencies.nix args);
|
|
|
|
propagatedBuildInputs = [getopt libxslt];
|
|
|
|
configureFlags = [];
|
|
|
|
} null; /* null is a terminator for sumArgs */
|
|
|
|
let
|
|
|
|
fixPkgconfig = FullDepEntry ("
|
|
|
|
ensureDir \$out/lib
|
|
|
|
ln -fs \$out/share/pkgconfig \$out/lib/pkgconfig
|
|
|
|
") [minInit doMakeInstall defEnsureDir];
|
|
|
|
fixInterpreter = FullDepEntry ("
|
|
|
|
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 [doAutotools doConfigure doMakeInstall fixPkgconfig fixInterpreter doForceShare
|
|
|
|
doPropagate]);
|
2007-12-01 17:20:23 +01:00
|
|
|
inherit propagatedBuildInputs;
|
2007-11-05 09:32:20 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
Compiz BCOP.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
}
|