* More cleanup.

svn path=/nixpkgs/trunk/; revision=22798
This commit is contained in:
Eelco Dolstra
2010-07-28 18:01:17 +00:00
parent d67aefc19d
commit f1598a8941
32 changed files with 425 additions and 498 deletions
@@ -1,27 +1,22 @@
args: with args;
let localDefs = builderDefs.passthru.function {
src =
fetchurl {
url = http://plugin.org.uk/releases/0.4.15/swh-plugins-0.4.15.tar.gz;
sha256 = "0h462s4mmqg4iw7zdsihnrmz2vjg0fd49qxw2a284bnryjjfhpnh";
};
buildInputs = [fftw ladspaH pkgconfig];
configureFlags = [];
};
in with localDefs;
let
postInstall = fullDepEntry ("
ensureDir \$out/share/ladspa/
ln -s \$out/lib/ladspa \$out/share/ladspa/lib
") [minInit defEnsureDir];
in
{ stdenv, fetchurl, fftw, ladspaH, pkgconfig }:
stdenv.mkDerivation {
name = "swh-plugins-0.4.15";
builder = writeScript "swh-plugins-0.4.15-builder"
(textClosure localDefs [doConfigure doMakeInstall
postInstall doForceShare]);
meta = {
description = "LADSPA format audio plugins";
inherit src;
};
name = "swh-plugins-0.4.15";
src = fetchurl {
url = http://plugin.org.uk/releases/0.4.15/swh-plugins-0.4.15.tar.gz;
sha256 = "0h462s4mmqg4iw7zdsihnrmz2vjg0fd49qxw2a284bnryjjfhpnh";
};
buildInputs = [fftw ladspaH pkgconfig];
postInstall =
''
ensureDir $out/share/ladspa/
ln -s $out/lib/ladspa $out/share/ladspa/lib
'';
meta = {
description = "LADSPA format audio plugins";
};
}