nixpkgs/pkgs/development/tools/build-managers/cmake/default.nix
Yury G. Kudryashov 33f6eb6b03 Some upgrades needed for kde4:
* alsa-lib: 1.0.12 -> 1.0.14
* alsa-utils: 1.0.13 -> 1.0.14
* strigi: 0.5.1 -> 0.5.3dev
* libgpg-error: 1.0 -> 1.4
* gpgme: 1.0.3 -> 1.1.4
* cmake: 2.4.6 -> 2.4.7

* Some kde4 components added (not compilable yet).
* icu4c-3.6 added
* boost: added unicode support to RegEx, switched to "system" layout

svn path=/nixpkgs/trunk/; revision=9068
2007-08-08 13:20:18 +00:00

25 lines
695 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "cmake-2.4.7";
setupHook = ./setup-hook.sh;
src = fetchurl {
url = http://www.cmake.org/files/v2.4/cmake-2.4.7.tar.gz;
sha256 = "0mkx23s7zq48hzzzw3vbzsfzfz3rjsiwgf3i00xawcxrjjrgxm9g";
};
buildInputs = [];
preConfigure="find Modules -type f -name '*.cmake' |
xargs sed -e 's@/usr@/FOO@g' -e 's@ /\\(bin\\|sbin\\|lib\\)@ /FOO@g' -i";
postInstall="find \$out/share -type f -name '*.cmake' |
xargs sed -e 's@/usr@/FOO@g' -e 's@ /\\(bin\\|sbin\\|lib\\)@ /FOO@g' -i;
ensureDir \$out/nix-support;
cp -p $setupHook \$out/nix-support/setup-hook";
meta = {
description = "Cross-Platform Makefile Generator";
};
}